incubator-doris [Bug] Broker Load StringType cant set default_value

lmyy7pcs  于 2022-04-22  发布在  Java
关注(0)|答案(0)|浏览(123)

Search before asking

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

Version

master branch

What's Wrong?

CREATE TABLE test_db( aaa date, bbb string , ccc string, )

LOAD xxxxx set ( aaa='_col1', bbb='_col2', ccc=default_value("good") )

When setting the default value for a string type field, the actual measurement only supports a string with a maximum length of 1.

The error contents are as follows:
type:ETL_RUN_FAIL; msg:errCode = 2, detailMessage = errCode = 2, detailMessage = Default value is too long: good

What You Expected?

StringType can set default value.

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

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题