Skip to content

[Bug] ES外表目前不能支持wildcard类型字段识别. #30732

@zhujian86

Description

@zhujian86

Search before asking

  • I had searched in the issues and found no similar issues.

Version

Doris2.0.4

What's Wrong?

使用以下语句创建的es外表
CREATE EXTERNAL TABLE TEST_OS_ES ENGINE=ELASTICSEARCH PROPERTIES ( "hosts" = "http://192.168.1.100:9200", "index" = "test_index", "enable_keyword_sniff" = "true" );
当字段含有wildcard时查询报错,需要手工指定类型,否则查询报错:

[HY000][1105] errCode = 2, detailMessage = Unsupported type 'UNSUPPORTED_TYPE' in 'test_filed'.

What You Expected?

可以正确识别Wildcard类型的字段

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

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