iam getting this error
# troubleshooting
a
iam getting this error
y
IIUC what's happening here is there's actually no downstream operator here since it just creates an DataSource without following transformation or sink operators, and PyFlink couldn't handle data records in such an intermediate state. Maybe you can try applying some transformation operations like
Copy code
ds = (env
      .from_source(source, WatermarkStrategy.no_watermarks(), "CSV Source")
      .map(lambda x: x[0])) # Get the first column
or simply collect it by printing it out:
Copy code
ds.print()
Tested these cases locally and it worked well.
a
thanks a lot