Skip to content

[Bug] tvf与catalog的某些字段表现不一致 #60163

@caidashi

Description

@caidashi

Search before asking

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

Version

Doris version doris-3.0.8-rc01-09b0cc49a6

What's Wrong?

使用catalog读取MySQL表

这里字段table_comment无输出

select table_schema,table_name,table_comment
from dljy_fill.information_schema.TABLES;

使用query()读取MySQL表

正常输出

select
    table_schema,table_name,table_comment
from query("catalog" = "dljy_fill", "query" = "select TABLE_SCHEMA,TABLE_NAME,TABLE_COMMENT from information_schema.TABLES ");

What You Expected?

tvf与catalog 的表现一致,不需要特殊场景下做切换

How to Reproduce?

需要自建MySQL和测试表,在Doris建Catalog,然后依次执行上面的SQL查询

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