fdolce commented on code in PR #29088:
URL: https://github.com/apache/flink/pull/29088#discussion_r3958526422


##########
flink-python/pyflink/dataframe/context.py:
##########
@@ -50,6 +54,10 @@ def set_table_environment(t_env: Optional[TableEnvironment]) 
-> None:
     global _global_table_environment
     if t_env is not None and not isinstance(t_env, TableEnvironment):
         raise TypeError("t_env must be a TableEnvironment or None")
+    if t_env is not None:

Review Comment:
   Yep, agree on this, fixing it



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

Reply via email to