You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-Proxy
Expected behavior
Query returns accurate results.
Actual behavior
ERROR 20101 (42000): SQL federation does not support SQL 'select u.id, u.username, i.invite_code from user as u inner join invitation as i on u.id = i.user_id where u.id = 1072863298099085312'.
More details: org.apache.calcite.runtime.CalciteContextException: At line 0, column 0: Cannot apply '=' to arguments of type '<JAVATYPE(CLASS JAVA.MATH.BIGINTEGER)> = '. Supported form(s): '<COMPARABLE_TYPE> = <COMPARABLE_TYPE>'
Reason analyze (If you can)
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
mode:
type: Standaloneauthority:
users:
- user: rootpassword: root
- user: shardingpassword: shardingprivilege:
type: ALL_PERMITTEDprops:
max-connections-size-per-query: 1kernel-executor-size: 16# Infinite by default.proxy-frontend-flush-threshold: 128# The default value is 128.proxy-hint-enabled: truesql-show: truesqlFederation:
sqlFederationEnabled: trueallQueryUseSQLFederation: falseexecutionPlanCache:
initialCapacity: 2000maximumSize: 65535
when I insert a batch of data, the data looks like this:
attention to the last query in the image, an error occurred.
ERROR 20101 (42000): SQL federation does not support SQL 'select * from user as u inner join invitation as i on u.id = i.user_id where u.id = 1072871697079599104'.
More details: org.apache.calcite.runtime.CalciteContextException: At line 0, column 0: Cannot apply '=' to arguments of type '<JAVATYPE(CLASS JAVA.MATH.BIGINTEGER)> = '. Supported form(s): '<COMPARABLE_TYPE> = <COMPARABLE_TYPE>'
Example codes for reproduce this issue (such as a github link).
The text was updated successfully, but these errors were encountered:
Which version of ShardingSphere did you use?
5.5.1
Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-Proxy
Expected behavior
Query returns accurate results.
Actual behavior
ERROR 20101 (42000): SQL federation does not support SQL 'select u.id, u.username, i.invite_code from user as u inner join invitation as i on u.id = i.user_id where u.id = 1072863298099085312'.
More details: org.apache.calcite.runtime.CalciteContextException: At line 0, column 0: Cannot apply '=' to arguments of type '<JAVATYPE(CLASS JAVA.MATH.BIGINTEGER)> = '. Supported form(s): '<COMPARABLE_TYPE> = <COMPARABLE_TYPE>'
Reason analyze (If you can)
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
This is my table creation statement.
This is my shard configuration.
database-test.yaml
This is my global configuration.
global.yaml
when I insert a batch of data, the data looks like this:
attention to the last query in the image, an error occurred.
ERROR 20101 (42000): SQL federation does not support SQL 'select * from user as u inner join invitation as i on u.id = i.user_id where u.id = 1072871697079599104'.
More details: org.apache.calcite.runtime.CalciteContextException: At line 0, column 0: Cannot apply '=' to arguments of type '<JAVATYPE(CLASS JAVA.MATH.BIGINTEGER)> = '. Supported form(s): '<COMPARABLE_TYPE> = <COMPARABLE_TYPE>'
Example codes for reproduce this issue (such as a github link).
The text was updated successfully, but these errors were encountered: