You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Dmitry Sysolyatin (Jira)" <ji...@apache.org> on 2023/02/13 10:23:00 UTC

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

    [ https://issues.apache.org/jira/browse/CALCITE-5515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17687866#comment-17687866 ] 

Dmitry Sysolyatin commented on CALCITE-5515:
--------------------------------------------

Thanks for PR [~tnieradzik].

Fixed in https://github.com/apache/calcite/commit/50d124615e0b07f7fbe6107b7c440d9737a00836

> 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 50m
>  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)