Github user blrunner commented on a diff in the pull request:
https://github.com/apache/tajo/pull/119#discussion_r16338875
--- Diff:
tajo-core/src/main/java/org/apache/tajo/engine/planner/physical/ColPartitionStoreExec.java
---
@@ -67,6 +79,15 @@ public ColPartitionStoreExec(TaskAttemptContext context,
StoreTableNode plan, Ph
meta = CatalogUtil.newTableMeta(plan.getStorageType());
}
+ if (!(plan instanceof InsertNode)) {
+ String nullChar =
context.getQueryContext().get(SessionVars.NULL_CHAR);
+ meta.putOption(StorageConstants.CSVFILE_NULL, nullChar);
--- End diff --
You need to consider other null characters because of
StorageConstants.SEQUENCEFILE_NULL and StorageConstants.RCFILE_NULL.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---