Skip to content

【Spark-connector】datatype json not support #143

@beeflyme

Description

@beeflyme

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions