Ryan Goldenberg
06/24/2024, 10:49 PMtab = t_env.from_path("input_table")
ds = t_env.to_data_stream(tab)
ds.print()
env.execute()
results in
py4j.protocol.Py4JError: An error occurred while calling o18.toDataStream. Trace:
org.apache.flink.api.python.shaded.py4j.Py4JException: Method toDataStream([class org.apache.flink.table.api.internal.TableImpl]) does not existRyan Goldenberg
06/24/2024, 11:18 PMStreamExecutionEnvironment needs to be provided
env = StreamExecutionEnvironment.get_execution_environment()
t_env = StreamTableEnvironment.create(env)
not
t_env = StreamTableEnvironment.create(environment_settings=env_settings)