dataset.createCassandraTable is not available

Description

From spark-submit with scala application works well, but when I try using pyspark It doesn't work

It throws:

AttributeError: 'DataFrame' object has no attribute 'createCassandraTable'

Environment

Ubuntu 16.04
openJdk 1.8.0
Scala 2.11
Spark 2.2.1
Cassandra 3.11
Python 3.52

Pull Requests

None

Assignee

Russell Spitzer

Reporter

Juan A. Aguilar

Fix versions

None

Labels

Reviewer

None

Reviewer 2

None

Pull Request

None

Components

Affects versions

Priority

Major
Configure