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

Fix sql federaion case exception caused by upgrade calcite version to 1.38.0 #33385

Open
3 tasks
strongduanmu opened this issue Oct 24, 2024 · 1 comment
Open
3 tasks

Comments

@strongduanmu
Copy link
Member

strongduanmu commented Oct 24, 2024

After I upgrade calcite version to 1.38.0 on master branch(#33279), some sql federation case throw exception. Following is the items:

  • SELECT bit_count(123456), bit_count('123456'), bit_count('abcdefg'), BIT_COUNT('abcdef1234'), bit_count(''), bit_count(1 + 1)
  • SELECT bit_count(type_int), bit_count(type_smallint), bit_count(type_decimal), bit_count(type_float), bit_count(type_double), bit_count(type_bit), ...
  • SELECT t4.order_id, t3.item_id, bit_count(t4.order_id), bit_count(t3.item_id), t2.* FROM t_product t1 ...

You can search TODO fix these three sql federation case before 5.5.2 release to find these cases.

@strongduanmu
Copy link
Member Author

image

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

No branches or pull requests

1 participant