Skip to content

[Bug]: FlinkSQL 未支持 arr_data[1].f1 的写法 #367

@liuxy0551

Description

@liuxy0551

Version

latest

Which SQL?

Flink

SQL content

select
    map.key1['key2'],
    map.key1.key2,
    map['key1']['key2'],
    map['key1'].key2,
    map['key1'].key2['key3'].key4.key5,
    count(map.arr1[1].key),
    count(map.arr1[1]['key']),
    count(map['arr1'][1].key),
    count(map['arr1'][1]['key']),
    id 
from
    t1;
image

JavaScript/TypeScript code

No response

What happened?

image

支持 arr_data[1].f1 的写法:
https://study.sf.163.com/documents/read/easydatav8.0-update02/sql_parse_complexjson.md

Relevant log output

No response

Metadata

Metadata

Assignees

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