pedrumj2 commented on PR #13639:
URL: https://github.com/apache/gluten/pull/13639#issuecomment-7081908834

   > I think it would be helpful to have a broader discussion on the long-term 
direction before moving forward with this PR.
   
   Hi @rui-mo  thanks for taking a look. Just wanted to follow up here, based 
on latest discussions which option we want to take here?
   - Stick with string processing?
   - Make the changes in Velox
   
   I had Claude look up number of times error message changes in Velox could 
impact gluten if we go down string matching, it was about ~20 times in 2026
   
   ------
   
   [Claude Generated]
   
   Here are the Velox PRs merged in 2026 that change the text of an exception 
message a Spark query on Gluten can hit. Each row is one message, shown as its 
Velox format string, where `{}` is filled in at runtime.
   
   | Velox PR | Merged (UTC) | When a Spark query hits it | Before | After |
   |---|---|---|---|---|
   | [#17478](https://github.com/facebookincubator/velox/pull/17478) | 
2026-05-12 | Default settings: reading a Parquet `TIME_MICROS` column as 
another type, e.g. `BIGINT` | `Unsupported Parquet SchemaElement converted 
type: {}` | `Converted type TIME MICRO UTC is not allowed for requested type 
{}` |
   | [#17353](https://github.com/facebookincubator/velox/pull/17353) | 
2026-05-18 | Default settings: a Parquet column whose type doesn't match the 
table schema | `Converted type {} is not allowed for requested type {}` | 
`Converted type {} is not allowed for requested type {} for file column '{}'` |
   | [#17353](https://github.com/facebookincubator/velox/pull/17353) | 
2026-05-18 | Default settings: reading a Parquet `TIME_MICROS` column as 
another type, until 
[#19201](https://github.com/facebookincubator/velox/pull/19201) | `Converted 
type TIME MICRO UTC is not allowed for requested type {}` | `argument not 
found` |
   | [#18630](https://github.com/facebookincubator/velox/pull/18630) | 
2026-09-03 | Default settings: `map_from_arrays` with a NULL key | `map key 
cannot be null` | `Cannot use null as map key!` |
   | [#18630](https://github.com/facebookincubator/velox/pull/18630) | 
2026-09-03 | Default settings: `map_from_arrays` whose key and value arrays 
differ in length | `({} vs. {}) Key and value arrays must be the same length` | 
`({} vs. {}) The key array and value array of MapData must have the same 
length.` |
   | [#19201](https://github.com/facebookincubator/velox/pull/19201) | 
2026-10-03 | Default settings: reading a Parquet `TIME_MICROS` column as 
another type | `argument not found` | `Converted type TIME MICRO UTC is not 
allowed for requested type {} for file column '{}'` |
   | [#19648](https://github.com/facebookincubator/velox/pull/19648) | 
2026-10-23 | Default settings: native write into a Hive table bucketed by a 
`DECIMAL` column with precision > 18 | `Hive partitioning function doesn't 
support {} type` | `Hive hash doesn't support type: {}` |
   | [#19770](https://github.com/facebookincubator/velox/pull/19770) | 
2026-10-27 | Default settings (`spark.sql.mapKeyDedupPolicy=EXCEPTION`): a 
duplicate key in `map`, `map_from_arrays` or `transform_keys` | `Duplicate map 
key ({}) was found.` | `Duplicate map key was found: {}` |
   | [#19770](https://github.com/facebookincubator/velox/pull/19770) | 
2026-10-27 | Default settings: `map` with a NULL key that comes before a 
duplicate key | `Duplicate map key ({}) was found.` | `Cannot use null as map 
key!` |
   | [#19771](https://github.com/facebookincubator/velox/pull/19771) | 
2026-10-28 | Default settings: `map_from_entries` with a NULL key | `map key 
cannot be null` | `Cannot use null as map key!` |
   | [#19771](https://github.com/facebookincubator/velox/pull/19771) | 
2026-10-28 | Default settings (`EXCEPTION` policy): `map_from_entries` with a 
duplicate key | `Duplicate map keys ({}) are not allowed` | `Duplicate map key 
was found: {}` |
   | [#19771](https://github.com/facebookincubator/velox/pull/19771) | 
2026-10-28 | Default settings (`EXCEPTION` policy): `map_from_entries` with a 
duplicate key that comes before a NULL key | `map key cannot be null` | 
`Duplicate map key was found: {}` |
   | [#20159](https://github.com/facebookincubator/velox/pull/20159) | 
2026-11-20 | Default settings (`EXCEPTION` policy): `map_concat` inputs that 
share a key. Not in Gluten's Velox pin yet | `Duplicate map key {} was found.` 
| `Duplicate map key was found: {}` |
   | [#17177](https://github.com/facebookincubator/velox/pull/17177) | 
2026-05-27 | ANSI mode (`spark.sql.ansi.enabled=true`) with 
`spark.gluten.sql.ansiFallback.enabled=false`: `CAST(string AS DATE)` on an 
invalid date | `Cannot cast {} '{}' to {}.  {}` (two spaces after `.`) | 
`Cannot cast {} '{}' to {}. {}` |
   | [#19976](https://github.com/facebookincubator/velox/pull/19976) | 
2026-11-05 | ANSI mode (`spark.sql.ansi.enabled=true`) with 
`spark.gluten.sql.ansiFallback.enabled=false`: `unix_timestamp` or 
`to_unix_timestamp` with an out-of-range day of year | `Value {} for dayOfMonth 
must be in the range [1,{}] for year {} and month {}.` | `Value {} for 
dayOfYear must be in the range [1,{}] for year {}.` |
   | [#17924](https://github.com/facebookincubator/velox/pull/17924) | 
2026-09-24 | GPU (cuDF) builds only: a decimal division that overflows | 
`Decimal overflow` | `Decimal overflow in divide` |
   | [#18406](https://github.com/facebookincubator/velox/pull/18406) | 
2026-09-01 | S3-enabled builds: an S3 request that still fails with a retryable 
error after retries (suffix on the S3 error) | `Request failed after retrying 
{} times. Try increasing the value of 'hive.s3.max-attempts'.` | `Request 
failed after retrying {} times. Try increasing the value of the S3 
'max-attempts' configuration.` |
   | [#15944](https://github.com/facebookincubator/velox/pull/15944) | 
2026-01-10 | Misconfiguration: Velox query tracing on, with a trace node ID 
that isn't in the plan | `Trace plan node ID = {} not found from task {}` | 
`Trace plan node ID = '{}' not found from task '{}'` |
   | [#17114](https://github.com/facebookincubator/velox/pull/17114) | 
2026-06-16 | Misconfiguration (ABFS builds): an `abfss://` account with no auth 
type configured | ``No AzureClientProviderFactory registered for account 
'{}'.Please use `registerAzureClientProvider` or 
`registerAzureClientProviderFactory` to register a factory for the account 
before using it.`` | ``No AzureClientProviderFactory registered for account 
'{}' and no auth type found in config key '{}'. Please either register a 
factory using `registerAzureClientProvider` or 
`registerAzureClientProviderFactory`, or provide auth type in config.`` |
   | [#17866](https://github.com/facebookincubator/velox/pull/17866) | 
2026-07-03 | Misconfiguration (ABFS builds), reach uncertain: an 
`fs.azure.account.auth.type.*` key with no `.` after the account name | `({} 
vs. {}) Invalid Azure account auth type key: {}` | `Invalid Azure account auth 
type key: {}` |
   | [#18406](https://github.com/facebookincubator/velox/pull/18406) | 
2026-09-01 | Misconfiguration (S3 builds): a negative S3 max-attempts | `({} 
vs. {}) Invalid configuration: specified 'hive.s3.max-attempts' value {} is < 
0.` | `({} vs. {}) Invalid configuration: specified S3 'max-attempts' value {} 
is < 0.` |
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to