Groups
Groups
Sign in
Groups
Groups
DataStax Spark Connector for Apache Cassandra
Conversations
About
Send feedback
Help
Materialized View - reads error
23 views
Skip to first unread message
sujan dutta
unread,
Jul 30, 2023, 12:04:43 AM
7/30/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DataStax Spark Connector for Apache Cassandra
I am able to read cassandra tables with catalog but not able to read Materialized Views,
Exception in thread "main" org.apache.spark.sql.AnalysisException: Table or view not found: ....
Spark SQL 3.4.1 and spark Connector 3.4.0
Even i tried with spark connector 3.3.0 which release note mentioned MV reads are fixed
https://github.com/datastax/spark-cassandra-connector/releases
code sample:
val viewDf = spark.read.format("org.apache.spark.sql.cassandra")
.table("mycatalog.myks.myview")
I am able to read cassandra tables with above code block, let me know if i am missing any options etc to read a cassandra view.
Reply all
Reply to author
Forward
0 new messages