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(parser): allow mysql-style hex number and single-item array #5654

Merged
merged 2 commits into from
May 28, 2022

Conversation

andylokandy
Copy link
Collaborator

@andylokandy andylokandy commented May 28, 2022

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

  • Distinguish map access [1] and array literal [1] based on its previous element.
  • Accept hexadecimal numbers in MySQL style like 0xff.
  • Make DataTime an alias of Timestamp.

Changelog

  • New Feature
  • Bug Fix

Related Issues

Fixes #5643

@vercel
Copy link

vercel bot commented May 28, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
databend ⬜️ Ignored (Inspect) May 28, 2022 at 5:51PM (UTC)

@mergify
Copy link
Contributor

mergify bot commented May 28, 2022

Thanks for the contribution!
I have applied any labels matching special text in your PR Changelog.

Please review the labels and make any necessary changes.

@mergify mergify bot added pr-feature this PR introduces a new feature to the codebase pr-bugfix this PR patches a bug in codebase labels May 28, 2022
@andylokandy andylokandy requested review from b41sh and leiysky May 28, 2022 17:02
@BohuTANG BohuTANG merged commit e7da979 into databendlabs:main May 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need-review pr-bugfix this PR patches a bug in codebase pr-feature this PR introduces a new feature to the codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parser cannot deal with some array expression
4 participants