Re: [PR] [VL] Support YearMonthIntervalType and enable make_ym_interval [incubator-gluten]

2024-03-27 Thread via GitHub


marin-ma merged PR #4798:
URL: https://github.com/apache/incubator-gluten/pull/4798


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org
For additional commands, e-mail: commits-h...@gluten.apache.org



Re: [PR] [VL] Support YearMonthIntervalType and enable make_ym_interval [incubator-gluten]

2024-03-27 Thread via GitHub


marin-ma commented on PR #4798:
URL: 
https://github.com/apache/incubator-gluten/pull/4798#issuecomment-2024347990

   @taiyang-li @zzcclp @PHILO-HE Could we merge this patch if no further 
comments?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org
For additional commands, e-mail: commits-h...@gluten.apache.org



Re: [PR] [VL] Support YearMonthIntervalType and enable make_ym_interval [incubator-gluten]

2024-03-26 Thread via GitHub


marin-ma commented on PR #4798:
URL: 
https://github.com/apache/incubator-gluten/pull/4798#issuecomment-2021758296

   @zzcclp CH CI passed. Could you help to review? Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org
For additional commands, e-mail: commits-h...@gluten.apache.org



Re: [PR] [VL] Support YearMonthIntervalType and enable make_ym_interval [incubator-gluten]

2024-03-26 Thread via GitHub


github-actions[bot] commented on PR #4798:
URL: 
https://github.com/apache/incubator-gluten/pull/4798#issuecomment-2020860684

   Run Gluten Clickhouse CI


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org
For additional commands, e-mail: commits-h...@gluten.apache.org



Re: [PR] [VL] Support YearMonthIntervalType and enable make_ym_interval [incubator-gluten]

2024-03-26 Thread via GitHub


zzcclp commented on PR #4798:
URL: 
https://github.com/apache/incubator-gluten/pull/4798#issuecomment-2020336897

   It seems there are some `SPARK-36830: Support reading and writing ANSI 
intervals` which are not disable for the spark 3.3


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org
For additional commands, e-mail: commits-h...@gluten.apache.org



Re: [PR] [VL] Support YearMonthIntervalType and enable make_ym_interval [incubator-gluten]

2024-03-26 Thread via GitHub


github-actions[bot] commented on PR #4798:
URL: 
https://github.com/apache/incubator-gluten/pull/4798#issuecomment-2019795729

   Run Gluten Clickhouse CI


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org
For additional commands, e-mail: commits-h...@gluten.apache.org



Re: [PR] [VL] Support YearMonthIntervalType and enable make_ym_interval [incubator-gluten]

2024-03-25 Thread via GitHub


github-actions[bot] commented on PR #4798:
URL: 
https://github.com/apache/incubator-gluten/pull/4798#issuecomment-2019393777

   Run Gluten Clickhouse CI


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org
For additional commands, e-mail: commits-h...@gluten.apache.org



Re: [PR] [VL] Support YearMonthIntervalType and enable make_ym_interval [incubator-gluten]

2024-03-25 Thread via GitHub


taiyang-li commented on PR #4798:
URL: 
https://github.com/apache/incubator-gluten/pull/4798#issuecomment-2019280563

   > > @taiyang-li, CH CI is red, could you give us some clues to fix? Thanks!
   > 
   > 
![image](https://private-user-images.githubusercontent.com/8181003/316705335-840cee46-14d3-4d6d-a8ee-d7cf2d1da7bf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTE0MjAzOTMsIm5iZiI6MTcxMTQyMDA5MywicGF0aCI6Ii84MTgxMDAzLzMxNjcwNTMzNS04NDBjZWU0Ni0xNGQzLTRkNmQtYThlZS1kN2NmMmQxZGE3YmYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDMyNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDAzMjZUMDIyODEzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWNhZWExZmEwZmI2NDYzZWIwMGE0YmQwZTkwNjFkN2JhNjcyNDU4YmU2ZmI2OGU1Mjc3YzQ3MTA0NTYwNjhiMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ._TnUB-cVUZxifvqRueP78fbi4F175CxUFeso8TdGkrg)
   > 
   > Seems like the new added type is not supported in CH backend.
   
   @zzcclp do we have any mechanism to disable some types while transforming ? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org
For additional commands, e-mail: commits-h...@gluten.apache.org



Re: [PR] [VL] Support YearMonthIntervalType and enable make_ym_interval [incubator-gluten]

2024-03-25 Thread via GitHub


github-actions[bot] commented on PR #4798:
URL: 
https://github.com/apache/incubator-gluten/pull/4798#issuecomment-2019268759

   Run Gluten Clickhouse CI


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org
For additional commands, e-mail: commits-h...@gluten.apache.org



Re: [PR] [VL] Support YearMonthIntervalType and enable make_ym_interval [incubator-gluten]

2024-03-25 Thread via GitHub


taiyang-li commented on PR #4798:
URL: 
https://github.com/apache/incubator-gluten/pull/4798#issuecomment-2019263883

   > @taiyang-li, CH CI is red, could you give us some clues to fix? Thanks!
   
   
![image](https://github.com/apache/incubator-gluten/assets/8181003/840cee46-14d3-4d6d-a8ee-d7cf2d1da7bf)
   
   Seems like the new added type is not supported in CH backend.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org
For additional commands, e-mail: commits-h...@gluten.apache.org



Re: [PR] [VL] Support YearMonthIntervalType and enable make_ym_interval [incubator-gluten]

2024-03-25 Thread via GitHub


github-actions[bot] commented on PR #4798:
URL: 
https://github.com/apache/incubator-gluten/pull/4798#issuecomment-2017579881

   Run Gluten Clickhouse CI


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org
For additional commands, e-mail: commits-h...@gluten.apache.org



Re: [PR] [VL] Support YearMonthIntervalType and enable make_ym_interval [incubator-gluten]

2024-03-25 Thread via GitHub


github-actions[bot] commented on PR #4798:
URL: 
https://github.com/apache/incubator-gluten/pull/4798#issuecomment-2017346587

   Run Gluten Clickhouse CI


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org
For additional commands, e-mail: commits-h...@gluten.apache.org



Re: [PR] [VL] Support YearMonthIntervalType and enable make_ym_interval [incubator-gluten]

2024-03-22 Thread via GitHub


PHILO-HE commented on PR #4798:
URL: 
https://github.com/apache/incubator-gluten/pull/4798#issuecomment-2014530751

   @taiyang-li, CH CI is red, could you give us some clues to fix? Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org
For additional commands, e-mail: commits-h...@gluten.apache.org



Re: [PR] [VL] Support YearMonthIntervalType and enable make_ym_interval [incubator-gluten]

2024-03-21 Thread via GitHub


github-actions[bot] commented on PR #4798:
URL: 
https://github.com/apache/incubator-gluten/pull/4798#issuecomment-2014328245

   Run Gluten Clickhouse CI


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org
For additional commands, e-mail: commits-h...@gluten.apache.org



Re: [PR] [VL] Support YearMonthIntervalType and enable make_ym_interval [incubator-gluten]

2024-03-21 Thread via GitHub


PHILO-HE commented on code in PR #4798:
URL: https://github.com/apache/incubator-gluten/pull/4798#discussion_r1534985823


##
backends-velox/src/test/scala/io/glutenproject/execution/VeloxFunctionsValidateSuite.scala:
##
@@ -513,6 +513,31 @@ class VeloxFunctionsValidateSuite extends 
VeloxWholeStageTransformerSuite {
 }
   }
 
+  test("Test make_ym_interval function") {
+withTempPath {
+  path =>
+Seq[Tuple2[Integer, Integer]]((1, 0), (-1, 1), (null, 1), (1, null))
+  .toDF("year", "month")
+  .write
+  .parquet(path.getCanonicalPath)
+
+
spark.read.parquet(path.getCanonicalPath).createOrReplaceTempView("make_ym_interval_tbl")
+
+runQueryAndCompare("select make_ym_interval(year, month) from 
make_ym_interval_tbl") {
+  checkOperatorMatch[ProjectExecTransformer]
+}
+
+runQueryAndCompare("select make_ym_interval(year) from 
make_ym_interval_tbl") {
+  checkOperatorMatch[ProjectExecTransformer]
+}
+
+// select make_ym_interval() from make_ym_interval_tbl will be 
optimized with fallback.

Review Comment:
   Maybe, need to add some handling in `FallbackEmptySchemaRelation` to allow 
offloading this.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org
For additional commands, e-mail: commits-h...@gluten.apache.org



Re: [PR] [VL] Support YearMonthIntervalType and enable make_ym_interval [incubator-gluten]

2024-03-21 Thread via GitHub


github-actions[bot] commented on PR #4798:
URL: 
https://github.com/apache/incubator-gluten/pull/4798#issuecomment-2012726908

   Run Gluten Clickhouse CI


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org
For additional commands, e-mail: commits-h...@gluten.apache.org



Re: [PR] [VL] Support YearMonthIntervalType and enable make_ym_interval [incubator-gluten]

2024-03-21 Thread via GitHub


marin-ma commented on PR #4798:
URL: 
https://github.com/apache/incubator-gluten/pull/4798#issuecomment-2011912120

   @PHILO-HE Could you help to review first? I will revert `get_velox.sh` after 
tomorrow rebase. Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org
For additional commands, e-mail: commits-h...@gluten.apache.org



Re: [PR] [VL] Support YearMonthIntervalType and enable make_ym_interval [incubator-gluten]

2024-03-20 Thread via GitHub


github-actions[bot] commented on PR #4798:
URL: 
https://github.com/apache/incubator-gluten/pull/4798#issuecomment-2011248745

   Run Gluten Clickhouse CI


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org
For additional commands, e-mail: commits-h...@gluten.apache.org