thomasrebele opened a new pull request, #6100: URL: https://github.com/apache/hive/pull/6100
### What changes were proposed in this pull request? Make the Python scripts compatible with Python 3 by changing `print ....` to `print(...)`, with some minor fixes where necessary. ### Why are the changes needed? Some q files use python scripts. However, the python scripts use syntax that is not compatible with Python 3. Python 2 is out-of-date (last release in 2020), and some operating systems do not provide packages anymore (e.g., Ubuntu LTS 24.04). The goal of this ticket is to make the scripts compatible with Python 3. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Running `mvn test -pl itests/qtest -Pitests -Dtest=TestMiniLlapCliDriver -Dqfile=newline.q` locally. -- 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]
