[
https://issues.apache.org/jira/browse/CALCITE-3510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16976814#comment-16976814
]
Michael Mior commented on CALCITE-3510:
---------------------------------------
Very cool! Could you clarify exactly what is supported here? Is it only keys
which store list values? What happens with sets, sorted sets, hash sets, etc.?
I'm also not too keen on what seems to be automatic interpretation of the
string value inside the list element. Could you explain how it is decided that
your first example is CSV (but using colons instead of commas), the second is
JSON, and the third is neither?
> Implement sqlquery for Redis adapter
> ------------------------------------
>
> Key: CALCITE-3510
> URL: https://issues.apache.org/jira/browse/CALCITE-3510
> Project: Calcite
> Issue Type: New Feature
> Reporter: Forward Xu
> Assignee: Forward Xu
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 127.0.0.1:6379> LPUSH csv_02 "10:Sales"
> sqlline> select * from "csv_02";
> ||DEPTNO||NAME||
> |20|Sales|
> 127.0.0.1:6379> LPUSH json_02 "{"DEPTNO":10,"NAME":"Sales1"}"
> sqlline> select * from "json_02";
> ||DEPTNO||NAME||
> |20|Sales|
> 127.0.0.1:6379> LPUSH raw_02 "book1"
> sqlline> select * from "raw_02";
> ||key||
> |book1|
--
This message was sent by Atlassian Jira
(v8.3.4#803005)