From 663492e9dac8e1ca6170dd4b8098aa48d71702da Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 3 Sep 2015 14:48:24 -0700 Subject: [PATCH] Honor is_nullable when creating columns --- object_store.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/object_store.cpp b/object_store.cpp index 9f2b3e3b..af05f47c 100644 --- a/object_store.cpp +++ b/object_store.cpp @@ -310,7 +310,9 @@ bool ObjectStore::create_tables(Group *group, Schema &target_schema, bool update break; } default: - target_prop.table_column = table->add_column(DataType(target_prop.type), target_prop.name); + target_prop.table_column = table->add_column(DataType(target_prop.type), + target_prop.name, + target_prop.is_nullable); break; }