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

ODBC: ERROR [42000] syntax error, unexpected invalid token, expecting end of file #6

Open
mattheweberger opened this issue Jul 4, 2024 · 0 comments

Comments

@mattheweberger
Copy link

Redis Server version: redis-server-stack image 7.2.5

redis-sql-odbc-dist version: v0.0.4

Operating system version: Microsoft Windows 11 Enterprise 10.0.22631 N/A Build 22631

Description of problem:
Basic fatal error getting into any sample index data. In this case using the RedisInsight sample data sets: "idx:smpl_bicycle"
and "idx:smpl_restaurant"

ODBC: ERROR [42000] syntax error, unexpected invalid token, expecting end of file (0)

ODBC trace:

Microsoft.Mashu 9598-8ae0	EXIT  SQLGetInfoW  with return code 0 (SQL_SUCCESS)
		HDBC                0x00000215BEEFB120
		UWORD                        6 <SQL_DRIVER_NAME>
		PTR                 0x00000215C1592320 [      10] "Redis"
		SWORD                      100 
		SWORD *             0x000000FDB43FC4AC (10)

Microsoft.Mashu 9598-8ae0	ENTER SQLExecDirectW 
		HSTMT               0x00000215BEEFDBB0
		WCHAR *             0x00000215C158D9B4 [      -3] "select cuisine,\ d\ a    keyName,\ d\ a    location,\ d\ a    restaunt_name\ d\ afrom .idx:smpl_restaurant\ 0"
		SDWORD                    -3

Microsoft.Mashu 9598-8ae0	EXIT  SQLExecDirectW  with return code -1 (SQL_ERROR)
		HSTMT               0x00000215BEEFDBB0
		WCHAR *             0x00000215C158D9B4 [      -3] "select cuisine,\ d\ a    keyName,\ d\ a    location,\ d\ a    restaunt_name\ d\ afrom .idx:smpl_restaurant\ 0"
		SDWORD                    -3

		DIAG [42000] syntax error, unexpected invalid token, expecting end of file (0) 

Expected behavior:
Be able to view sample data in Excel or Power BI.

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

No branches or pull requests

1 participant