You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "marin-ma (via GitHub)" <gi...@apache.org> on 2025/03/24 14:59:04 UTC
[PR] [GLUTEN-9116] Allow passing user-specific configurations to native backend [incubator-gluten]
marin-ma opened a new pull request, #9119:
URL: https://github.com/apache/incubator-gluten/pull/9119
## What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
(Fixes: \#ISSUE-ID)
## How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove 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-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [PR] [GLUTEN-9116] Allow passing user-specific configurations to native backend [incubator-gluten]
Posted by "zhztheplayer (via GitHub)" <gi...@apache.org>.
zhztheplayer commented on PR #9119:
URL: https://github.com/apache/incubator-gluten/pull/9119#issuecomment-2750858502
> Now all configuration starts with `spark.gluten.sql.columnar.backend.velox` will be send to native backend.
@marin-ma Have you tried with this approach?
--
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-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [PR] [GLUTEN-9116] Allow passing user-specific configurations to native backend [incubator-gluten]
Posted by "jinchengchenghh (via GitHub)" <gi...@apache.org>.
jinchengchenghh commented on code in PR #9119:
URL: https://github.com/apache/incubator-gluten/pull/9119#discussion_r2010478998
##########
docs/Configuration.md:
##########
@@ -74,6 +74,8 @@ You can add these configurations into spark-defaults.conf to enable or disable t
| spark.gluten.sql.cacheWholeStageTransformerContext | When true, `WholeStageTransformer` will cache the `WholeStageTransformerContext` when executing. It is used to get substrait plan node and native plan string. | false |
| spark.gluten.sql.injectNativePlanStringToExplain | When true, Gluten will inject native plan tree to Spark's explain output. | false |
| spark.gluten.sql.fallbackRegexpExpressions | When true, Gluten will fall back all regexp expressions to avoid any incompatibility risk. | false |
+| spark.gluten.native.additionalConfList | Comma-separated additional configurations to be passed to the native backend. | |
Review Comment:
Can you also describe it in the document, and update to spark.gluten.native.additionalConfNameList
--
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-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [PR] [GLUTEN-9116] Allow passing user-specific configurations to native backend [incubator-gluten]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #9119:
URL: https://github.com/apache/incubator-gluten/pull/9119#issuecomment-2748969595
Run Gluten Clickhouse CI on x86
--
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-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [PR] [GLUTEN-9116] Allow passing user-specific configurations to native backend [incubator-gluten]
Posted by "jinchengchenghh (via GitHub)" <gi...@apache.org>.
jinchengchenghh commented on PR #9119:
URL: https://github.com/apache/incubator-gluten/pull/9119#issuecomment-2750819715
Now all configuration starts with `spark.gluten.sql.columnar.backend.velox` will be send to native 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-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [PR] [GLUTEN-9116] Allow passing user-specific configurations to native backend [incubator-gluten]
Posted by "marin-ma (via GitHub)" <gi...@apache.org>.
marin-ma commented on code in PR #9119:
URL: https://github.com/apache/incubator-gluten/pull/9119#discussion_r2010443664
##########
docs/Configuration.md:
##########
@@ -74,6 +74,8 @@ You can add these configurations into spark-defaults.conf to enable or disable t
| spark.gluten.sql.cacheWholeStageTransformerContext | When true, `WholeStageTransformer` will cache the `WholeStageTransformerContext` when executing. It is used to get substrait plan node and native plan string. | false |
| spark.gluten.sql.injectNativePlanStringToExplain | When true, Gluten will inject native plan tree to Spark's explain output. | false |
| spark.gluten.sql.fallbackRegexpExpressions | When true, Gluten will fall back all regexp expressions to avoid any incompatibility risk. | false |
+| spark.gluten.native.additionalConfList | Comma-separated additional configurations to be passed to the native backend. | |
Review Comment:
Only the keys. Updated in the pr description.
--
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-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [PR] [GLUTEN-9116] Allow passing user-specific configurations to native backend [incubator-gluten]
Posted by "marin-ma (via GitHub)" <gi...@apache.org>.
marin-ma commented on PR #9119:
URL: https://github.com/apache/incubator-gluten/pull/9119#issuecomment-2751340047
> > Now all configuration starts with `spark.gluten.sql.columnar.backend.velox` will be send to native backend.
>
> @marin-ma Have you tried with this approach?
@zhztheplayer The purpose of adding this approach is to allow reading some existing configurations in the backend without asking users to modify the existing configuration from `xxx` to `spark.gluten.sql.columnar.backend.velox.xxx` in their production environment during the migration from Spark to Gluten.
--
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-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [PR] [GLUTEN-9116] Allow passing user-specific configurations to native backend [incubator-gluten]
Posted by "marin-ma (via GitHub)" <gi...@apache.org>.
marin-ma commented on code in PR #9119:
URL: https://github.com/apache/incubator-gluten/pull/9119#discussion_r2010674127
##########
docs/Configuration.md:
##########
@@ -74,6 +74,8 @@ You can add these configurations into spark-defaults.conf to enable or disable t
| spark.gluten.sql.cacheWholeStageTransformerContext | When true, `WholeStageTransformer` will cache the `WholeStageTransformerContext` when executing. It is used to get substrait plan node and native plan string. | false |
| spark.gluten.sql.injectNativePlanStringToExplain | When true, Gluten will inject native plan tree to Spark's explain output. | false |
| spark.gluten.sql.fallbackRegexpExpressions | When true, Gluten will fall back all regexp expressions to avoid any incompatibility risk. | false |
+| spark.gluten.native.additionalConfList | Comma-separated additional configurations to be passed to the native backend. | |
Review Comment:
Refined the doc. 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-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [PR] [GLUTEN-9116] Allow passing user-specific configurations to native backend [incubator-gluten]
Posted by "marin-ma (via GitHub)" <gi...@apache.org>.
marin-ma commented on PR #9119:
URL: https://github.com/apache/incubator-gluten/pull/9119#issuecomment-2750642284
> Can we use `spark.gluten.native.customized.cfg.key1=value1`, `spark.gluten.native.customized.cfg.key2=value2`? All config with pattern "spark.gluten.native.customized.cfg" are passed to native library without any check.
This requires user to rename the existing configurations. With the current approach, they only need to add one extra configuration for Gluten to recognize them. cc: @majetideepak
--
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-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [PR] [GLUTEN-9116] Allow passing user-specific configurations to native backend [incubator-gluten]
Posted by "FelixYBW (via GitHub)" <gi...@apache.org>.
FelixYBW commented on PR #9119:
URL: https://github.com/apache/incubator-gluten/pull/9119#issuecomment-2749666849
Can we use `spark.gluten.native.customized.cfg.key1=value1`, `spark.gluten.native.customized.cfg.key2=value2`? All config with pattern "spark.gluten.native.customized.cfg" are passed to native library without any check.
--
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-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [PR] [GLUTEN-9116] Allow passing user-specific configurations to native backend [incubator-gluten]
Posted by "jinchengchenghh (via GitHub)" <gi...@apache.org>.
jinchengchenghh commented on PR #9119:
URL: https://github.com/apache/incubator-gluten/pull/9119#issuecomment-2751469935
This feature is for the user modified native backend, so I think if they need it, they should cherry-pick this PR to their user modified gluten 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-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [PR] [GLUTEN-9116] Allow passing user-specific configurations to native backend [incubator-gluten]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #9119:
URL: https://github.com/apache/incubator-gluten/pull/9119#issuecomment-2748427369
Run Gluten Clickhouse CI on x86
--
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-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [PR] [GLUTEN-9116] Allow passing user-specific configurations to native backend [incubator-gluten]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #9119:
URL: https://github.com/apache/incubator-gluten/pull/9119#issuecomment-2748426624
https://github.com/apache/incubator-gluten/issues/9116
--
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-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [PR] [GLUTEN-9116] Allow passing user-specific configurations to native backend [incubator-gluten]
Posted by "jinchengchenghh (via GitHub)" <gi...@apache.org>.
jinchengchenghh commented on code in PR #9119:
URL: https://github.com/apache/incubator-gluten/pull/9119#discussion_r2010398045
##########
docs/Configuration.md:
##########
@@ -74,6 +74,8 @@ You can add these configurations into spark-defaults.conf to enable or disable t
| spark.gluten.sql.cacheWholeStageTransformerContext | When true, `WholeStageTransformer` will cache the `WholeStageTransformerContext` when executing. It is used to get substrait plan node and native plan string. | false |
| spark.gluten.sql.injectNativePlanStringToExplain | When true, Gluten will inject native plan tree to Spark's explain output. | false |
| spark.gluten.sql.fallbackRegexpExpressions | When true, Gluten will fall back all regexp expressions to avoid any incompatibility risk. | false |
+| spark.gluten.native.additionalConfList | Comma-separated additional configurations to be passed to the native backend. | |
Review Comment:
What' s the format, `k1=v1,k2=v2`?
--
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-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [PR] [GLUTEN-9116] Allow passing user-specific configurations to native backend [incubator-gluten]
Posted by "marin-ma (via GitHub)" <gi...@apache.org>.
marin-ma closed pull request #9119: [GLUTEN-9116] Allow passing user-specific configurations to native backend
URL: https://github.com/apache/incubator-gluten/pull/9119
--
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-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org