dianfu commented on a change in pull request #17322:
URL: https://github.com/apache/flink/pull/17322#discussion_r714518056
##########
File path: flink-python/pyflink/table/table_environment.py
##########
@@ -1695,12 +1695,14 @@ def _add_jars_to_j_env_config(self, config_key):
jar_urls =
self.get_config().get_configuration().get_string(config_key, None)
if jar_urls is not None:
# normalize and remove duplicates
- jar_urls_set = set([jvm.java.net.URL(url).toString() for url in
jar_urls.split(";")])
+ # do not use set, because set does not guarantee order.
+ jar_urls_list = [jvm.java.net.URL(url).toString() for url in
jar_urls.split(";")]
Review comment:
I guess this is not necessary. Why we need to keep the order?
--
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]