[
https://issues.apache.org/jira/browse/CALCITE-7388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yu Xu reassigned CALCITE-7388:
------------------------------
Assignee: dngdongchen
> Redis Adapter operand config should not support empty string
> ------------------------------------------------------------
>
> Key: CALCITE-7388
> URL: https://issues.apache.org/jira/browse/CALCITE-7388
> Project: Calcite
> Issue Type: Bug
> Affects Versions: 1.41.0
> Reporter: terran2010
> Assignee: dngdongchen
> Priority: Major
> Labels: pull-request-available
>
> The normal config
> {code:java}
> "operand": {
> "dataFormat": "csv",
> "keyDelimiter": ":",
> "fields": [
> {
> "name": "DEPTNO",
> "type": "varchar",
> "mapping": 0
> },
> {
> "name": "NAME",
> "type": "varchar",
> "mapping": 1
> }
> ]
> } {code}
> but this config
> {code:java}
> "operand": {
> "dataFormat": "",
> "keyDelimiter": ":",
> "fields": []
> } {code}
> It was successfully loaded into the Redis data model, resulting in errors
> when executing SQL. Normally, illegal key parameters should be disabled when
> building metadata. We can consider optimizing it
--
This message was sent by Atlassian Jira
(v8.20.10#820010)