Affects Version/s: None
Fix Version/s: None
With the table data
and external table declaration
, I got the following incorrect query result for query 'select name, score from delimiter'
It looks like '|' in name column is recognized as delimiter.
As I inspect the code,
table meta information like 'csvfile.delimiter' is only valid on leaf scan operation and all the other operations (including making intermediate data and materialize query result) assumes that delimiter is DEFAULT_FIELD_DELIMITER, which is '|'.
Hence, if the plan has the process of making intermediate data,
it handles '|' in the data as a delimiter even though it is not actually.