Skip to content

Instantly share code, notes, and snippets.

@jvanz
Created January 8, 2015 15:44
Show Gist options
  • Save jvanz/a0bbdc1dad887349b876 to your computer and use it in GitHub Desktop.
Save jvanz/a0bbdc1dad887349b876 to your computer and use it in GitHub Desktop.
cassandra driver compile error
[info] Compiling 1 Scala source to /home/vanz/repos/juicer/bigdata/target/scala-2.10/classes...
[error] /home/vanz/repos/juicer/bigdata/app/controllers/Cassandra.scala:59: value addColumm is not a member of com.datastax.driver.core.schemabuilder.Create
[error] possible cause: maybe a semicolon is missing before `value addColumm'?
[error] .addColumm("record_type", DataType.bigint())
val CREATE_TRACKER_RECORD = SchemaBuilder.createTable("juicer", "tracker_record").ifNotExists()
.addPartitionKey("pak_timeslice", DataType.timestamp())
.addClusteringColumn("pk_tracker", DataType.text())
.addClusteringColumn("pk_ts", DataType.timeuuid())
.addColumm("record_type", DataType.bigint())
.addColumm("device_uuid", DataType.text())
.addColumm("json_uuid", DataType.timeuuid())
.addColumn("record_ts", DataType.timestamp())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment