mirror of
https://github.com/apache/impala.git
synced 2025-12-30 12:02:10 -05:00
Test files in testdata/workloads/functional-query/queries/QueryTest
are parsed by test_file_parser.py, which used to ignore everything
before the first ==== line as a file header. This change fixes all
affected files.
This change also modifies the test file parser to forbid headers
starting with what looks like a subsection title ('----'), which
should prevent the reintroduction of similar errors in the future.
Change-Id: Iaa1bc5ffd02782e24289c7843dcb35401c334519
Reviewed-on: http://gerrit.cloudera.org:8080/2220
Reviewed-by: Lars Volker <lv@cloudera.com>
Tested-by: Internal Jenkins
6 lines
72 B
Plaintext
6 lines
72 B
Plaintext
---- QUERY
|
|
SELECT count(*) FROM functional.alltypes;
|
|
---- RESULT
|
|
0
|
|
====
|