def METHOD_NAME(
        pipelines: List[TableQuestionAnsweringPipeline]):
    test_case = {
        'utterance': [
            ['有哪些风险类型？', 'fund', False],
            ['风险类型有多少种？', 'fund', True],
            ['珠江流域的小型水库的库容总量是多少？', 'reservoir', False],
            ['那平均值是多少？', 'reservoir', True],
            ['那水库的名称呢？', 'reservoir', True],
            ['换成中型的呢？', 'reservoir', True],
            ['近7年来车辆的销量趋势？', 'car_sales', False],
            ['近7年来车辆的销量月环比是多少呢？', 'car_sales', True],
        ],
    }
    for p in pipelines:
        historical_queries = None
        for question, table_id, use_history in test_case['utterance']:
            output_dict = p({
                'question':
                question,
                'table_id':
                table_id,
                'history_sql':
                historical_queries if use_history else None
            })[OutputKeys.OUTPUT]
            print('question', question)
            print('sql text:', output_dict[OutputKeys.SQL_STRING])
            print('sql query:', output_dict[OutputKeys.SQL_QUERY])
            print('query result:', output_dict[OutputKeys.QUERY_RESULT])
            print('json dumps', json.dumps(output_dict, ensure_ascii=False))
            print()
            historical_queries = output_dict[OutputKeys.HISTORY]