Skip to content

Include less details in the query failure messsage matching#10847

Merged
findepi merged 3 commits intotrinodb:masterfrom
findinpath:hive-relax-parquet-decoding-exception-message
Jan 31, 2022
Merged

Include less details in the query failure messsage matching#10847
findepi merged 3 commits intotrinodb:masterfrom
findinpath:hive-relax-parquet-decoding-exception-message

Conversation

@findinpath
Copy link
Copy Markdown
Contributor

Some older Hive distributions have apparently a different full class name for ParquetDecodingException.
Relax the failure message matching to be able to apply this test on more Hive distributions.

 Expecting message:
tests               |   <"java.io.IOException: parquet.io.ParquetDecodingException: Can not read value at 1 in block 0 in file hdfs://hadoop-master:9000/user/hive/warehouse/parquet_table_small_decimal_created_in_trino/20220128_164310_01082_rxiyb_3ecc49f0-f52f-4955-8f2f-0e2db8beeff7">
tests               | to match regex:
tests               |   <".* org.apache.parquet.io.ParquetDecodingException: Can not read value at 1 in block 0 in file .*">
tests               | but did not.

@cla-bot cla-bot bot added the cla-signed label Jan 28, 2022
@findepi
Copy link
Copy Markdown
Member

findepi commented Jan 28, 2022

push empty once again

@findinpath findinpath requested a review from findepi January 31, 2022 10:49
@findepi findepi merged commit b8a6db5 into trinodb:master Jan 31, 2022
@github-actions github-actions bot added this to the 370 milestone Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants