Skip to content

[VET-6222] Investigate and fix issue with special characters in questions#319

Merged
anneeb merged 1 commit intomasterfrom
VET-6164-investigate-and-fix-issue-with-special-characters-in-questions
Nov 21, 2025
Merged

[VET-6222] Investigate and fix issue with special characters in questions#319
anneeb merged 1 commit intomasterfrom
VET-6164-investigate-and-fix-issue-with-special-characters-in-questions

Conversation

@SpiralP
Copy link
Copy Markdown
Member

@SpiralP SpiralP commented Nov 21, 2025

VET-6222 VET-6163

dataSources.query can't accept application/json; charset=utf-8, but does work with application/json:

curl ...
        -H 'content-type: application/json; charset=utf8' \
        --data-raw '{"query":"select * from PURCHASE_ORDER where PO_DATE > \'2020-04-01\' LIMIT 25","options":{"parser.sql.quoting":"NATIVE","sql.functions":"","percent.encode":true}}'
Data Source query failed: 'pilothouse-test-new-ds-154452d5-11eb-4030-858b-fdcadc384cd4': Invalid SQL syntax found. Encountered "{" at line 1, column 1.
Was expecting one of:

@SpiralP SpiralP changed the title [VET-6164] Investigate and fix issue with special characters in questions [VET-6222] Investigate and fix issue with special characters in questions Nov 21, 2025
Comment thread test/dataSources.spec.js
Comment on lines +8 to +9
Run the following to set up the MySQL database used in these tests:
echo "drop database if exists stardogjs_test; create database stardogjs_test; use stardogjs_test; create table test_table (id INT PRIMARY KEY);" | mysql -h host.docker.internal -uroot -pmy-secret
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

noting i got all these here to pass after running this (and removing the .only below)

@anneeb anneeb merged commit 5256d82 into master Nov 21, 2025
2 checks passed
@anneeb anneeb added this to the v9.1.1 milestone Nov 21, 2025
@SpiralP SpiralP deleted the VET-6164-investigate-and-fix-issue-with-special-characters-in-questions branch November 21, 2025 17:53
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.

4 participants