You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Alessandro Solimando (Jira)" <ji...@apache.org> on 2020/09/28 20:00:07 UTC
[jira] [Created] (CALCITE-4293) cassandra adapter returns null when
selecting non-null tuple elements
Alessandro Solimando created CALCITE-4293:
---------------------------------------------
Summary: cassandra adapter returns null when selecting non-null tuple elements
Key: CALCITE-4293
URL: https://issues.apache.org/jira/browse/CALCITE-4293
Project: Calcite
Issue Type: Bug
Components: cassandra-adapter
Affects Versions: 1.25.0
Reporter: Alessandro Solimando
Assignee: Alessandro Solimando
The following test currently fails due to the _EXPR$i_ elements are null and don't match their actual value within the _f_tuple_ field:
{code:java}
@Test void testTupleInnerValues() {
CalciteAssert.that()
.with(DTCASSANDRA)
.query("select x['1'], x['2'], x['3'] from "
+ "(select \"f_tuple\" from \"test_collections\") as T(x)")
.returns("EXPR$0=3000000000"
+ "; EXPR$1=30ff87"
+ "; EXPR$2=2015-05-03 13:30:54\n");
}{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)