mirror of https://github.com/apache/druid.git
46ecc6b900
* Frames support for string arrays that are null. The row format represents null arrays as 0x0001, which older readers would interpret as an empty array. This provides compatibility with older readers, which is useful during updates. The column format represents null arrays by writing -(actual length) - 1 instead of the length, and using FrameColumnWriters.TYPE_STRING_ARRAY for the type code for string arrays generally. Older readers will report this as an unrecognized type code. Column format is only used by the operator query, which is currently experimental, so the impact isn't too severe. * Remove unused import. * Return Object[] instead of List from frame array selectors. Update MSQSelectTest and MSQInsertTest to reflect the fact that null arrays are possible. Add a bunch of javadocs to object selectors describing expected behavior, including the requirement that array selectors return Object[]. * update test case. * Update test cases. |
||
---|---|---|
.. | ||
src | ||
pom.xml |