aboutsummaryrefslogtreecommitdiff
path: root/contrib/data
diff options
context:
space:
mode:
authorJason Altekruse <altekrusejason@gmail.com>2016-02-26 09:55:05 -0800
committerJason Altekruse <altekrusejason@gmail.com>2016-03-09 10:46:51 -0800
commit2bf48113a2b666075ec27184a5c1f70b8979b1e6 (patch)
tree242f210fd415577314254d1b72eb815da014789e /contrib/data
parentc047f04b507faecc6bc65f15e2618162a23de09d (diff)
DRILL-4441: Fix varchar data read out of Avro filtering incorrectly due to metadata bug
The precision of the Varchar datatype was not being set causing inconsistent truncation of values to the default length of 1. Fixed the same issue with varbinary. The test framework was previously taking a string as the baseline for a binary value, which cannot express all possible values. Fixed the test to intstead use a byte array. Thie required updating the hive tests that were using the old method of specifying baselines with a String. Fix cast to varbinary when reading from a data source with schema needed for writing a test. Updated patch to remove varchar lengths from table creation. This issue was fixed more generally by DRILL-4465, which provides a default type length for varchar and varbinary during the setup of calcite. This update now just provides tests to verify the fix in this case. Closes #393
Diffstat (limited to 'contrib/data')
0 files changed, 0 insertions, 0 deletions