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

allow "=" in addition to "==" for SQL compat #5407

Merged
merged 3 commits into from
Oct 31, 2024
Merged

allow "=" in addition to "==" for SQL compat #5407

merged 3 commits into from
Oct 31, 2024

Conversation

mccanne
Copy link
Collaborator

@mccanne mccanne commented Oct 31, 2024

No description provided.

@mccanne mccanne merged commit 6485155 into main Oct 31, 2024
4 checks passed
@mccanne mccanne deleted the sql-equal branch October 31, 2024 19:57
@philrz
Copy link
Contributor

philrz commented Oct 31, 2024

Verified in super commit 6485155.

Before:

$ super -version
Version: v1.18.0-88-gbb910533

$ super -c "SELECT CustomerID FROM "customers.csv" WHERE Country='Mexico';"
super: error parsing SuperPipe at line 1, column 51:
SELECT CustomerID FROM customers.csv WHERE Country='Mexico';
                                              === ^ ===

Now:

$ super -version
Version: v1.18.0-90-g64851555

$ super -c "SELECT CustomerID FROM "customers.csv" WHERE Country='Mexico';"
{CustomerID:2.}
{CustomerID:3.}
{CustomerID:13.}
{CustomerID:58.}
{CustomerID:80.}

Thanks @mccanne!

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

Successfully merging this pull request may close these issues.

3 participants