aliyun-maxcompute-data-collectors icon indicating copy to clipboard operation
aliyun-maxcompute-data-collectors copied to clipboard

【Spark-connector】datatype json not support

Open beeflyme opened this issue 1 year ago • 1 comments

RT. ============= In MaxCompute =============== CREATE TABLE json_table ( json_val json );

CREATE TABLE string_table ( string_val STRING );

INSERT INTO string_table VALUES ('{"a":1, "b":2}') ,('{"a":"key", "b":2}') ,('{"c":3}');

INSERT INTO json_table SELECT json_parse(string_val) FROM string_table;

============ In spark ================

select * from json_table with error " json not supportes"

beeflyme avatar Jan 30 '24 13:01 beeflyme

OK, we will support this feature in future versions, thank you

shujiewu avatar Mar 27 '24 08:03 shujiewu