spark git commit: [SPARK-19968][SS] Use a cached instance of `KafkaProducer` instead of creating one every batch.

2017-05-29 Thread zsxwing
Repository: spark Updated Branches: refs/heads/branch-2.2 3b79e4cda -> f6730a70c [SPARK-19968][SS] Use a cached instance of `KafkaProducer` instead of creating one every batch. ## What changes were proposed in this pull request? In summary, cost of recreating a KafkaProducer for writing

spark git commit: [SPARK-19968][SS] Use a cached instance of `KafkaProducer` instead of creating one every batch.

2017-05-29 Thread zsxwing
Repository: spark Updated Branches: refs/heads/master 1c7db00c7 -> 96a4d1d08 [SPARK-19968][SS] Use a cached instance of `KafkaProducer` instead of creating one every batch. ## What changes were proposed in this pull request? In summary, cost of recreating a KafkaProducer for writing every

spark git commit: [SPARK-8184][SQL] Add additional function description for weekofyear

2017-05-29 Thread rxin
Repository: spark Updated Branches: refs/heads/branch-2.2 26640a269 -> 3b79e4cda [SPARK-8184][SQL] Add additional function description for weekofyear ## What changes were proposed in this pull request? Add additional function description for weekofyear. ## How was this patch tested?

spark git commit: [SPARK-8184][SQL] Add additional function description for weekofyear

2017-05-29 Thread rxin
Repository: spark Updated Branches: refs/heads/master c9749068e -> 1c7db00c7 [SPARK-8184][SQL] Add additional function description for weekofyear ## What changes were proposed in this pull request? Add additional function description for weekofyear. ## How was this patch tested? manual

spark git commit: [SPARK-20907][TEST] Use testQuietly for test suites that generate long log output

2017-05-29 Thread zsxwing
Repository: spark Updated Branches: refs/heads/branch-2.2 dc51be1e7 -> 26640a269 [SPARK-20907][TEST] Use testQuietly for test suites that generate long log output ## What changes were proposed in this pull request? Supress console output by using `testQuietly` in test suites ## How was

spark git commit: [SPARK-20907][TEST] Use testQuietly for test suites that generate long log output

2017-05-29 Thread zsxwing
Repository: spark Updated Branches: refs/heads/master ef9fd920c -> c9749068e [SPARK-20907][TEST] Use testQuietly for test suites that generate long log output ## What changes were proposed in this pull request? Supress console output by using `testQuietly` in test suites ## How was this

spark git commit: [SPARK-20750][SQL] Built-in SQL Function Support - REPLACE

2017-05-29 Thread lixiao
Repository: spark Updated Branches: refs/heads/master f9b59abea -> ef9fd920c [SPARK-20750][SQL] Built-in SQL Function Support - REPLACE ## What changes were proposed in this pull request? This PR adds built-in SQL function `(REPLACE(, [, ])` `REPLACE()` return that string that is replaced

spark git commit: [SPARK-20758][SQL] Add Constant propagation optimization

2017-05-29 Thread hvanhovell
Repository: spark Updated Branches: refs/heads/master 9d0db5a7f -> f9b59abea [SPARK-20758][SQL] Add Constant propagation optimization ## What changes were proposed in this pull request? See class doc of `ConstantPropagation` for the approach used. ## How was this patch tested? - Added unit