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

Add memefish integration #2

Merged
merged 3 commits into from
Oct 20, 2024
Merged

Add memefish integration #2

merged 3 commits into from
Oct 20, 2024

Conversation

apstndb
Copy link
Owner

@apstndb apstndb commented Oct 20, 2024

$ go run ./ --project ${SPANNER_PROJECT} --instance ${SPANNER_INSTANCE} --database ${SPANNER_DATABASE} -t --log-memefish
Connected.
spanner> SELECT 1;
2024/10/20 13:43:13 parsed: SELECT 1
+---+
|   |
+---+
| 1 |
+---+
1 rows in set (0.91 msecs)

spanner> SELECT 1 FROM t INVALID CLAUSE;
2024/10/20 13:43:17 SQL can't parsed as a statement, err: syntax error: :1:25: expected token: <eof>, but: <ident>

  1:  SELECT 1 FROM t INVALID CLAUSE
                              ^~~~~~
ERROR: spanner: code = "InvalidArgument", desc = "Syntax error: Expected end of input but got identifier \\\"CLAUSE\\\" [at 1:25]\\nSELECT 1 FROM t INVALID CLAUSE\\n                        ^"

@apstndb apstndb merged commit 681dba8 into main Oct 20, 2024
1 check passed
@apstndb apstndb deleted the memefish-integration branch October 20, 2024 04:44
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.

1 participant