val sc = new SparkContext(conf)
val streamContext = new StreamingContext(sc, Seconds(1))
val log = Logger.getLogger("sqsLog")
val sqs = streamContext.receiverStream(new SQSReceiver("queue")
默認情況下,prestodb通過執行區分大小寫的組。但我想知道如何做不區分大小寫的。一種方法是將所有的東西,在柱爲小寫,然後即 select * from (select lower(name_of_the_column)), other_columns from table)
where conditions..
group by name_of_the_column
的一種方式,我們可