anchor.diff:    .mode("append")
     .format("kudu").save
   
  -// Check for the existence of a Kudu table
  -kuduContext.tableExists("another_table")
  -
   // Delete a Kudu table
  -kuduContext.deleteTable("unwanted_table")
  +kuduContext.deleteTable("test_table")
   ----
   
   === Upsert option in Kudu Spark
  
positive.code:         .setNumReplicas(1)
          .addHashPartitions(List("key").asJava, 3))
  
  // Insert data
  kuduContext.insertRows(df, "test_table")
  
  // Delete data
  kuduContext.deleteRows(filteredDF, "test_table")
  
  // Upsert data
  kuduContext.upsertRows(df, "test_table")
  
  // Update data
  val alteredDF = df.select("id", $"count" + 1)
  kuduContext.updateRows(filteredRows, "test_table")
  
  // Data can also be inserted into the Kudu table using the data source, though the methods on
  // KuduContext are preferred
  
negative.code:   .format("kudu").load
  
  // Query using the Spark API...
  df.select("key").filter("key >= 5").show()
  
  // ...or register a temporary table and use SQL
  df.createOrReplaceTempView("kudu_table")
  val filteredDF = spark.sql("select key from kudu_table where key >= 5").show()
  
  // Use KuduContext to create, delete, or write to Kudu tables
  val kuduContext = new KuduContext("kudu.master:7051", spark.sparkContext)
  