@cjycjy so you are saying if you do it like
val airline = sql.read.couchbase(schemaFilter = EqualTo("type", "airline"))
it works, but when you do it like
val airline = sqlContext.read
.option("bucket","travel-sample")
.option("schemaFilter", "type = 'airline'")
.couchbase()
then the underlying N1QL query is generated wrongly and as a result you can’t get the records?