Skip to content

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

@mattheweberger

Description

@mattheweberger

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions