I have a table in PostgreSQL that has array column like abc_id varchar[](1)
and it has data in it like {A,B,C}
.
I want to create that table in Synapse SQL how can I create array columns is it possible?
I have a table in PostgreSQL that has array column like abc_id varchar[](1)
and it has data in it like {A,B,C}
.
I want to create that table in Synapse SQL how can I create array columns is it possible?
Copyright © 2021 Jogjafile Inc.
There is no explicit array type ibn Synapse SQL. We consider the array type data as complex type. As mentioned in the comment, consider using JSON as the main base.
The below image will explain the scheme of array and nested structure.
The following code block is the sample JSON example of implementing nested structures, which is a complex type and acceptable in Synapse SQL.