You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: core/esmf-aspect-model-document-generators/src/main/java/org/eclipse/esmf/aspectmodel/generator/sql/databricks/AspectModelDatabricksDenormalizedSqlVisitor.java
Copy file name to clipboardexpand all lines: core/esmf-aspect-model-document-generators/src/test/java/org/eclipse/esmf/aspectmodel/generator/sql/databricks/AspectModelDatabricksDenormalizedSqlVisitorTest.java
+32-10
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ CREATE TABLE IF NOT EXISTS aspect_with_collections_with_element_characteristic_a
CREATE TABLE IF NOT EXISTS aspect_with_entity_list (
201
-
test_list ARRAY<STRUCT<test_string: STRING NOT NULL, test_int: INT NOT NULL, test_float: FLOAT NOT NULL, test_local_date_time: TIMESTAMP NOT NULL, random_value: STRING NOT NULL>> NOT NULL
202
+
test_list__test_string STRING NOT NULL,
203
+
test_list__test_int INT NOT NULL,
204
+
test_list__test_float FLOAT NOT NULL,
205
+
test_list__test_local_date_time TIMESTAMP NOT NULL,
CREATE TABLE IF NOT EXISTS aspect_with_multiple_entity_collections (
311
-
test_list_one ARRAY<STRUCT<test_string: STRING NOT NULL, test_int: INT NOT NULL, test_float: FLOAT NOT NULL, test_local_date_time: TIMESTAMP NOT NULL, random_value: STRING NOT NULL>> NOT NULL,
312
-
test_list_two ARRAY<STRUCT<test_string: STRING NOT NULL, test_int: INT NOT NULL, test_float: FLOAT NOT NULL, test_local_date_time: TIMESTAMP NOT NULL, random_value: STRING NOT NULL>> NOT NULL
318
+
test_list_one__test_string STRING NOT NULL,
319
+
test_list_one__test_int INT NOT NULL,
320
+
test_list_one__test_float FLOAT NOT NULL,
321
+
test_list_one__test_local_date_time TIMESTAMP NOT NULL,
322
+
test_list_one__random_value STRING NOT NULL,
323
+
test_list_two__test_string STRING NOT NULL,
324
+
test_list_two__test_int INT NOT NULL,
325
+
test_list_two__test_float FLOAT NOT NULL,
326
+
test_list_two__test_local_date_time TIMESTAMP NOT NULL,
CREATE TABLE IF NOT EXISTS aspect_with_nested_entity_list (
322
-
test_list ARRAY<STRUCT<test_string: STRING NOT NULL, test_int: INT NOT NULL, test_float: FLOAT NOT NULL, test_second_list: STRUCT<test_local_date_time: TIMESTAMP, random_value: STRING> NOT NULL>> NOT NULL
337
+
test_list__test_string STRING NOT NULL,
338
+
test_list__test_int INT NOT NULL,
339
+
test_list__test_float FLOAT NOT NULL,
340
+
test_list__test_second_list__test_local_date_time_id BIGINT NOT NULL,
341
+
test_list__test_second_list__test_local_date_time TIMESTAMP NOT NULL,
342
+
test_list__test_second_list__random_value_id BIGINT NOT NULL,
343
+
test_list__test_second_list__random_value STRING NOT NULL
CREATE TABLE IF NOT EXISTS aspect_with_time_series (
474
-
test_property ARRAY<STRUCT<value: STRING NOT NULL COMMENT 'The value that was recorded and is part of a time series.', timestamp: TIMESTAMP NOT NULL COMMENT 'The specific point in time when the corresponding value was recorded.'>> NOT NULL COMMENT 'This is a test property.'
495
+
value STRING NOT NULL COMMENT 'The value that was recorded and is part of a time series.',
496
+
timestamp TIMESTAMP NOT NULL COMMENT 'The specific point in time when the corresponding value was recorded.'
Copy file name to clipboardexpand all lines: core/esmf-aspect-model-document-generators/src/test/java/org/eclipse/esmf/aspectmodel/generator/sql/databricks/DatabricksColumnDefinitionParserTest.java
0 commit comments