I am surviving pyspark_cassandra .
But I see no way to create a table / keyspace => is it even possible?
If so, how?
Perhaps you can try this package?
This package is from DataStax, which is the Cassandra driver for python.
Github: https://github.com/datastax/python-driver
API docs: https://datastax.imtqy.com/python-driver/api/cassandra/cluster.html
from cassandra.cluster import Cluster cluster = Cluster(['your_cassandra_ip']) session = cluster.connect() session.execute('CREATE KEYSPACE IF NOT EXISTS mykeyspace WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 3 };')
Source: https://habr.com/ru/post/1013132/More articles:Get HDMI EDID data - androidFree ~> Trampoline: recursive program crash with OutOfMemoryError - scalaAre option types reset? - f #getting error for d3-tip in angular2 - angularUnity Xcode Project PlayerSettings_GetBundleIdentifier - xcodeAndroid - Exoplayer 2 - simultaneous playback of multiple sounds / sounds - MergingMediaSource - androidIs there a way to relate the display and deployment of results? - rustWhat makes enum.ToString () set the member it represents - memory-managementWhy is my inline JavaScript function not working? - javascriptUsing a weak event in .NetCore - c #All Articles