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/13 10:13:00 UTC

[jira] [Updated] (CALCITE-5515) Add keyspace parameter to CassandraSchema and CassandraTable

     [ https://issues.apache.org/jira/browse/CALCITE-5515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Nieradzik updated CALCITE-5515:
-----------------------------------
    Summary: Add keyspace parameter to CassandraSchema and CassandraTable  (was: Keyspace in CQL sessions cannot be optional)

> Add keyspace parameter to CassandraSchema and CassandraTable
> ------------------------------------------------------------
>
>                 Key: CALCITE-5515
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5515
>             Project: Calcite
>          Issue Type: Bug
>          Components: cassandra-adapter
>    Affects Versions: 1.33.0
>            Reporter: Tim Nieradzik
>            Assignee: Tim Nieradzik
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> 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)