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]: SQL parser error: table \"__mo_index_unique_0192748f-6868-7182-a6de-2e457c2975c6\" does not exist error is returned when running SQL #19206

Open
1 task done
DanielZhangQD opened this issue Oct 10, 2024 · 11 comments
Assignees
Labels
kind/bug Something isn't working phase/testing severity/s0 Extreme impact: Cause the application to break down and seriously affect the use
Milestone

Comments

@DanielZhangQD
Copy link
Contributor

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

main

Commit ID

v2.0.0-e08947032-2024-10-09

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

The SQL is executed in account 01927400-16b3-7d3a-b47b-7e405633af0f but returns the following error:

"error":"Error 1064 (HY000): SQL parser error: table \"__mo_index_unique_0192748c-a33a-756d-a04a-92998a6be15d\" does not exist","elapsed":"30.138120565s","rows":0,"sql":"ALTER TABLE `billing_records` MODIFY COLUMN `account_period` varchar(32)"

The application log: https://grafana.cn-dev.matrixone.tech/goto/J7QXHCkNg?orgId=1
The MO log: https://grafana.cn-dev.matrixone.tech/goto/oURjNCkHR?orgId=1

Expected Behavior

SQL succeeds

Steps to Reproduce

See detail in Actual Behavior

Additional information

Cloud dev env

@DanielZhangQD DanielZhangQD added kind/bug Something isn't working needs-triage severity/s0 Extreme impact: Cause the application to break down and seriously affect the use labels Oct 10, 2024
@DanielZhangQD DanielZhangQD added this to the 2.0.0 milestone Oct 10, 2024
@qingxinhome
Copy link
Contributor

got it

@DanielZhangQD
Copy link
Contributor Author

The same error is reported continuously in cloud env https://grafana.cn-dev.matrixone.tech/goto/xsuCkxiHg?orgId=1

@qingxinhome
Copy link
Contributor

本地使用gorm程序验证没有复现,持续关注

@qingxinhome
Copy link
Contributor

未复现,本地测试gorm程序能够成功

@qingxinhome
Copy link
Contributor

等待韩枫侧对Relation()接口进行优化

1 similar comment
@qingxinhome
Copy link
Contributor

等待韩枫侧对Relation()接口进行优化

@daviszhen
Copy link
Contributor

等hf优化后,再调整代码。2.0.1来不及

@daviszhen daviszhen modified the milestones: 2.0.1, 2.1.0 Nov 12, 2024
@aptend
Copy link
Contributor

aptend commented Nov 15, 2024

处理其它bug中

@qingxinhome
Copy link
Contributor

#20194

@aptend
Copy link
Contributor

aptend commented Nov 26, 2024

pr #20145

@qingxinhome
Copy link
Contributor

The issue has been resolved, please verify and test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working phase/testing severity/s0 Extreme impact: Cause the application to break down and seriously affect the use
Projects
None yet
Development

No branches or pull requests

7 participants