WangGuangxin opened a new pull request, #52280: URL: https://github.com/apache/spark/pull/52280
### What changes were proposed in this pull request? Currently, connect client doen't support remote address with ipv6 format. For example ```shell bin/pyspark --remote "sc://[xxxx:xxxx:xx:xxx::xx]:yyyy" ``` It will throw ``` pyspark.errors.exceptions.base.PySparkValueError: [INVALID_CONNECT_URL] Invalid URL for Spark Connect: Target destination '[xxxx:xxxx:xx:xxx::xx]:yyyy' should match the '<host>:<port>' pattern. Please update the destination to follow the correct format, e.g., 'hostname:port'. ``` ### Why are the changes needed? Make spark connect supports remote address with ipv6 format ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Manually ### Was this patch authored or co-authored using generative AI tooling? No -- 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-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org