Re: [PR] refactor(config): deprecate hoodie.parquet.outputtimestamptype, a no-op since 1.1.0 [hudi]

2026-09-04 Thread via GitHub


voonhous merged PR #19815:
URL: https://github.com/apache/hudi/pull/19815


-- 
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]



Re: [PR] refactor(config): deprecate hoodie.parquet.outputtimestamptype, a no-op since 1.1.0 [hudi]

2026-09-04 Thread via GitHub


voonhous commented on code in PR #19815:
URL: https://github.com/apache/hudi/pull/19815#discussion_r3933395819


##
hudi-common/src/main/java/org/apache/hudi/common/config/HoodieStorageConfig.java:
##


Review Comment:
   Applied in 9a3ea36362b0. `Builder.parquetOutputTimestampType()` now carries 
`@Deprecated` plus a javadoc pointing at the writer schema, following 
`HoodieWriteConfig.Builder.withPopulateMetaFields`. It was the last 
undeprecated surface for this config, and the write side at that: the accessor 
has no callers in the tree, whereas the setter is what a programmatic caller 
actually invokes.
   
   The one cross-class caller is the new test that pins the no-op deliberately, 
so it takes `@SuppressWarnings("deprecation")`.



-- 
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]



Re: [PR] refactor(config): deprecate hoodie.parquet.outputtimestamptype, a no-op since 1.1.0 [hudi]

2026-09-03 Thread via GitHub


hudi-bot commented on PR #19815:
URL: https://github.com/apache/hudi/pull/19815#issuecomment-5525153734

   
   ## CI report:
   
   * d39615fa4ddd7da929381165d1674bc29e598634 Azure: 
[SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=16800)
 
   
   
   Bot commands
 @hudi-bot supports the following commands:
   
- `@hudi-bot run azure` re-run the last Azure build
   


-- 
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]



Re: [PR] refactor(config): deprecate hoodie.parquet.outputtimestamptype, a no-op since 1.1.0 [hudi]

2026-09-03 Thread via GitHub


hudi-bot commented on PR #19815:
URL: https://github.com/apache/hudi/pull/19815#issuecomment-5523968141

   
   ## CI report:
   
   * fc6f23d2a1cef3a2797bc5f4e0715626bdd7cfcd Azure: 
[SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=16794)
 
   * d39615fa4ddd7da929381165d1674bc29e598634 Azure: 
[PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=16800)
 
   
   
   Bot commands
 @hudi-bot supports the following commands:
   
- `@hudi-bot run azure` re-run the last Azure build
   


-- 
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]



Re: [PR] refactor(config): deprecate hoodie.parquet.outputtimestamptype, a no-op since 1.1.0 [hudi]

2026-09-03 Thread via GitHub


rangareddy commented on code in PR #19815:
URL: https://github.com/apache/hudi/pull/19815#discussion_r3921560755


##
hudi-common/src/main/java/org/apache/hudi/common/config/HoodieStorageConfig.java:
##
@@ -240,7 +240,9 @@ public class HoodieStorageConfig extends HoodieConfig {
   .key("hoodie.parquet.outputtimestamptype")
   .defaultValue("TIMESTAMP_MICROS")
   .markAdvanced()
-  .withDocumentation("Sets spark.sql.parquet.outputTimestampType. Parquet 
timestamp type to use when Spark writes data to Parquet files.");
+  .withDocumentation("Sets spark.sql.parquet.outputTimestampType for the 
Spark row-writer Parquet path (for example bulk insert). "

Review Comment:
   Done, both dropped in this PR rather than a follow-up: the dead 
`hadoopConf.set` at L154 and `HoodieWriteConfig.parquetOutputTimestampType()`. 
The builder setter `HoodieStorageConfig.Builder.parquetOutputTimestampType` 
stays, since it is still how a caller sets the (now deprecated) key.



-- 
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]



Re: [PR] refactor(config): deprecate hoodie.parquet.outputtimestamptype, a no-op since 1.1.0 [hudi]

2026-09-03 Thread via GitHub


hudi-bot commented on PR #19815:
URL: https://github.com/apache/hudi/pull/19815#issuecomment-5523893509

   
   ## CI report:
   
   * fc6f23d2a1cef3a2797bc5f4e0715626bdd7cfcd Azure: 
[SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=16794)
 
   * d39615fa4ddd7da929381165d1674bc29e598634 UNKNOWN
   
   
   Bot commands
 @hudi-bot supports the following commands:
   
- `@hudi-bot run azure` re-run the last Azure build
   


-- 
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]



Re: [PR] refactor(config): deprecate hoodie.parquet.outputtimestamptype, a no-op since 1.1.0 [hudi]

2026-09-03 Thread via GitHub


rangareddy commented on code in PR #19815:
URL: https://github.com/apache/hudi/pull/19815#discussion_r3923201959


##
hudi-common/src/main/java/org/apache/hudi/common/config/HoodieStorageConfig.java:
##
@@ -240,7 +240,9 @@ public class HoodieStorageConfig extends HoodieConfig {
   .key("hoodie.parquet.outputtimestamptype")
   .defaultValue("TIMESTAMP_MICROS")
   .markAdvanced()
-  .withDocumentation("Sets spark.sql.parquet.outputTimestampType. Parquet 
timestamp type to use when Spark writes data to Parquet files.");
+  .withDocumentation("Sets spark.sql.parquet.outputTimestampType for the 
Spark row-writer Parquet path (for example bulk insert). "

Review Comment:
   Correction to my earlier reply on this thread: I dropped the dead 
`hadoopConf.set` as you asked, but I have kept 
`HoodieWriteConfig.parquetOutputTimestampType()` and marked it `@Deprecated` 
rather than deleting it. It has no callers in the tree, but it is public, and 
`HoodieWriteConfig` deprecates public members rather than removing them (76 
`@Deprecated` markers in that class), so deleting it would be 
source-incompatible for downstream integrations with no benefit. The javadoc 
says the returned value does not describe what gets written, which I think 
serves the same purpose you were after. Happy to delete it instead if you would 
rather.



-- 
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]