You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "dongjoon-hyun (via GitHub)" <gi...@apache.org> on 2026/10/10 08:10:02 UTC

[PR] [SPARK-60122][PYTHON] Remove non-existent `avro` Maven profile from Avro doctest skip messages [spark]

dongjoon-hyun opened a new pull request, #59337:
URL: https://github.com/apache/spark/pull/59337

   ### What changes were proposed in this pull request?
   
   This PR aims to remove a non-existent Maven profile, `-Pavro`, from the skip messages of the Avro doctests in the following files.
   
   - `python/pyspark/sql/avro/functions.py`
   - `python/pyspark/sql/connect/avro/functions.py`
   
   ### Why are the changes needed?
   
   There is no `avro` profile in any `pom.xml`, and there never has been. `connector/avro` has been a default module of the root `pom.xml` since SPARK-24768, so `build/sbt package` and `build/mvn package` already build `spark-avro`. The current message suggests a profile that Maven ignores, with a warning like the following.
   
   ```
   [WARNING] The requested profile "avro" could not be activated because it does not exist.
   ```
   
   The message seems to have come from the Kinesis test message when SPARK-26856 added it. The Kinesis message uses `-Pkinesis-asl` because the Kinesis module is built only with that profile. After this PR, the Avro messages are the same as the existing Protobuf messages, which already suggest `build/sbt package` and `build/mvn package` without any profile.
   
   - `python/pyspark/sql/protobuf/functions.py`
   - `python/pyspark/sql/connect/protobuf/functions.py`
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. This only changes a test skip message.
   
   ### How was this patch tested?
   
   Manual review. `git grep -- '-Pavro'` returns no results after this change.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Opus 5.5


-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-60122][PYTHON] Remove non-existent `avro` Maven profile from Avro doctest skip messages [spark]

Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun closed pull request #59337: [SPARK-60122][PYTHON] Remove non-existent `avro` Maven profile from Avro doctest skip messages
URL: https://github.com/apache/spark/pull/59337


-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-60122][PYTHON] Remove non-existent `avro` Maven profile from Avro doctest skip messages [spark]

Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun commented on PR #59337:
URL: https://github.com/apache/spark/pull/59337#issuecomment-6111322577

   Thank you, @sarutak !


-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-60122][PYTHON] Remove non-existent `avro` Maven profile from Avro doctest skip messages [spark]

Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun commented on PR #59337:
URL: https://github.com/apache/spark/pull/59337#issuecomment-6111359986

   **Merge Summary:**
   - merged into master https://github.com/apache/spark/commit/4def9666e4f857ff4aa7531e06e118e0a938662f
   - merged into branch-4.x https://github.com/apache/spark/commit/1c152d3279ec7fcf7752e33e22fc65af14c19904
   - merged into branch-4.3 https://github.com/apache/spark/commit/9dd9bdde824175f918065472e36c35c88a0b776f
   - merged into branch-4.2 https://github.com/apache/spark/commit/d44bd64c6f735640e24f07f124dcaf0396353928
   - merged into branch-4.1 https://github.com/apache/spark/commit/0834efbfa66a3382e0c3f1f97a25825e174da8ed
   - merged into branch-4.0 https://github.com/apache/spark/commit/b45b1040db4e8728ade3ccfc832cd56704fee87e
   
   *Posted by `merge_spark_pr.py`*


-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org