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 report] Loading a Doris table with empty distribution. #4988

Closed
yuqi1129 opened this issue Sep 23, 2024 · 0 comments · Fixed by #4991
Closed

[Bug report] Loading a Doris table with empty distribution. #4988

yuqi1129 opened this issue Sep 23, 2024 · 0 comments · Fixed by #4991
Assignees
Labels
0.6.1 Release v0.6.1 0.7.0 Release v0.7.0 bug Something isn't working

Comments

@yuqi1129
Copy link
Contributor

Version

main branch

Describe what's wrong

create doris table success
image

curl 'http://0.0.0.0:3002/api/metalakes/metalake_demo/catalogs/do_ris/schemas/testdb/tables' \ -H 'Accept: application/vnd.gravitino.v1+json' \ -H 'Accept-Language: zh-CN,zh;q=0.9' \ -H 'Cache-Control: no-cache' \ -H 'Connection: keep-alive' \ -H 'Content-Type: application/json;charset=UTF-8' \ -H 'Cookie: authjs.csrf-token=4ae78d1e2d403091fc29b73036fe65af913019ab0c5e5c42ee1bd0caff3b5536%7C903755d6582f6bbf09be4d2b97e9e1c52c537a2c21a299809cd9bb23d6fc5505; authjs.callback-url=http%3A%2F%2F0.0.0.0%3A3002%2Fdashboard; NEXT_LOCALE=en-US; authjs.session-token=eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwia2lkIjoiVmFUWnJqQTdTSDg4QnhlWFE2WDBUNGZ6UWtVX2ItbVRFTnlXS05kbDM4TDlZbzZpTnh1aXducUthN0lFSDhYZFZRUlFuUXVHUFVkbDI1TUFRanduWkEifQ..xZiMN0XURDxV0iMOlJTPIg.rv9rHKWXOE0mWdqRkK1sjRo0odcv0Mtyb8rEfF33HG1pZDbKTteNfyQu2oon6VPLgLNRl8Y4IPtiIB5CF_hCCX-jshaw0Oqa8u3osr_Lz5ac4mhE8ju6J7qXOZE42QW9gvBdf2rZz9V6Q4-U8u6Y80uZNQM8YLQATM_uqE3fSRMuHlJTFOQBCaNEDnPuJewWxLFseTJ1dgHU0R6N2n_LGf_9LXaBoti1vO-yiUTk4wMlferzIvJsv5DDfKiR1EGvytrJ52h21b9rv0_3DVToUOhFMXnpZB0yULphXeZKlWGNMt8RGid_mHRESXAIzPQ2.LPbQdC46ZtFwCnDWxbIlouE_qTbYTkp-11u5xJDW24o' \ -H 'Origin: http://0.0.0.0:3002' \ -H 'Pragma: no-cache' \ -H 'Referer: http://0.0.0.0:3002/catalogs/do_ris/testdb?catalogType=relational' \ -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36' \ --data-raw '{"name":"table","comment":"","columns":[{"name":"id","type":"varchar(100)","nullable":true,"comment":""}],"properties":{},"distribution":{"strategy":"hash","number":32,"funcArgs":[{"type":"field","fieldName":["id"]}]}}' \ --insecure
get incorrect response:
image

Error message and/or stacktrace

Please see above.

How to reproduce

Please see above.

Additional context

No response

@yuqi1129 yuqi1129 added the bug Something isn't working label Sep 23, 2024
@mchades mchades added 0.6.1 Release v0.6.1 0.7.0 Release v0.7.0 labels Sep 29, 2024
github-actions bot pushed a commit that referenced this issue Sep 29, 2024
…when loading Doris tables (#4991)

### What changes were proposed in this pull request?

Loading distribution information when obtaining Doris tables.

### Why are the changes needed?

It's a bug to be fixed.

Fix: #4988 

### Does this PR introduce _any_ user-facing change?

N/A.

### How was this patch tested?

IT.
yuqi1129 added a commit that referenced this issue Sep 30, 2024
…when loading Doris tables (#5048)

### What changes were proposed in this pull request?

Loading distribution information when obtaining Doris tables.

### Why are the changes needed?

It's a bug to be fixed.

Fix: #4988 

### Does this PR introduce _any_ user-facing change?

N/A.

### How was this patch tested?

IT.

Co-authored-by: Qi Yu <yuqi@datastrato.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.6.1 Release v0.6.1 0.7.0 Release v0.7.0 bug Something isn't working
Projects
None yet
2 participants