Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] doris unique key表无法通过覆盖__DORIS_DELETE_SIGN__列值删除数据 #37481

Open
3 tasks done
hz0224 opened this issue Jul 8, 2024 · 1 comment
Open
3 tasks done

Comments

@hz0224
Copy link

hz0224 commented Jul 8, 2024

Search before asking

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

Version

1.2.2

What's Wrong?

导入数据如下:
example.json
{"id":111,"name":"test22","DORIS_DELETE_SIGN":1}

执行导入:
curl --location-trusted -u root:bigdata@doris
-H "format: json"
-H "read_json_by_line: true"
-H "hidden_columns: DORIS_DELETE_SIGN"
-T example.json
http://188.166.1.96:8043/api/cdm/person/_stream_load

执行成功了,但是person表里的__DORIS_DELETE_SIGN__值还是0

What You Expected?

stream load导入数据时怎么覆盖 __DORIS_DELETE_SIGN__列值进行删除数据
经过测试发现无论加不上hidden_columns都无法实现删除功能

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

@sollhui
Copy link
Contributor

sollhui commented Jul 11, 2024

Try to add header jsonpaths: [\"$.id\",\"$.name\",\"$.__DORIS_DELETE_SIGN__\"] ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants