You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Tim Nieradzik (Jira)" <ji...@apache.org> on 2023/02/06 08:59:00 UTC
[jira] [Updated] (CALCITE-5515) Keyspace in CQL sessions cannot be optional
[ https://issues.apache.org/jira/browse/CALCITE-5515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Nieradzik updated CALCITE-5515:
-----------------------------------
Description:
In our database solution, we {color:#000000}construct `CassandraSchema` instances ourselves (bypassing `CassandraSchemaFactory`) as users may configure Cassandra datasources without specifying a default keyspace.{color}
Currently, it is not possible to construct a `CassandraSchema` instance if the keyspace is not set in the CQL session.
Furthermore, queries generated by `CassandraTable` do not include a keyspace and will fail if the CQL session does not have a keyspace set.
was:
In our database solution, we {color:#000000}construct `CassandraSchema` instances ourselves (bypassing `CassandraSchemaFactory`) as users may configure Cassandra datasources without specifying a default namespace.{color}
Currently, it is not possible to construct a `CassandraSchema` instance if the namespace is not set in the CQL session. Another limitation is that queries generated by `CassandraTable` do not include a namespace. These will fail if the CQL session does not have a default namespace set.
> Keyspace in CQL sessions cannot be optional
> -------------------------------------------
>
> Key: CALCITE-5515
> URL: https://issues.apache.org/jira/browse/CALCITE-5515
> Project: Calcite
> Issue Type: Bug
> Components: cassandra-adapter
> Reporter: Tim Nieradzik
> Assignee: Tim Nieradzik
> Priority: Major
>
> In our database solution, we {color:#000000}construct `CassandraSchema` instances ourselves (bypassing `CassandraSchemaFactory`) as users may configure Cassandra datasources without specifying a default keyspace.{color}
> Currently, it is not possible to construct a `CassandraSchema` instance if the keyspace is not set in the CQL session.
> Furthermore, queries generated by `CassandraTable` do not include a keyspace and will fail if the CQL session does not have a keyspace set.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)