Skip to content

Apache DataFusion SQL Query Engine

ARROW-693: [Java] Add dictionary support to JSON reader and writer

Bryan Cutlerca6e16b28885
diff --git a/integration/integration_test.py b/integration/integration_test.py
index 76099669ad..215ba58232 100644
--- a/integration/integration_test.py
+++ b/integration/integration_test.py
@@ -581,6 +581,8 @@ class DictionaryType(DataType):
return self.index_type._get_type_layout()
def generate_column(self, size, name=None):
+ if name is None:
+ name = self.name
return self.index_type.generate_range(size, 0, len(self.dictionary),
name=name)