terrymanu commented on issue #37422: URL: https://github.com/apache/shardingsphere/issues/37422#issuecomment-3670279392
Thanks for the report. ShardingSphere currently extracts sharding keys only from simple literals or bound parameters. PostgreSQL typed literals (e.g., `TIMESTAMP '...'`) and values requiring function evaluation (e.g., `make_timestamp(...)`) are not used for sharding, which leads to this error. We’ve updated the documentation to note this limitation (see #37428). Please use plain literals or prepared-parameter forms for sharding keys so they can be extracted and routed correctly. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
