paul-rogers opened a new pull request #1726: DRILL-7143: Support default value 
for empty columns
URL: https://github.com/apache/drill/pull/1726
 
 
   Modifies the prior work to add default values for columns. The prior work 
added defaults
   when the entire column is missing from a reader (the old Nullable Int 
column). The Row
   Set mechanism now will also "fill empty" slots with the default value.
   
   Added default support for the column writers. The writers automatically 
obtain the
   default value from the column schema. The default can also be set explicitly 
on
   the column writer.
   
   Updated the null column mechanism to use this feature rather than the ad-hoc
   implemention in the prior commit.
   
   Semantics changed a bit. Only Required columns take a default. The default 
value
   is ignored or nullable columns since nullable columns already have a file 
default: NULL.
   
   Updated the CSV-with-schema tests to illustrate the new behavior.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to