Ctrl+K
Logo image Logo image

Site Navigation

  • API Reference
  • Examples

Site Navigation

  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
    • TableEnvironment
    • Table
    • Data Types
    • Window
    • Expressions
    • User Defined Functions
    • Descriptors
    • StatementSet
    • Catalog
  • PyFlink DataStream
  • PyFlink Common

pyflink.table.table_environment.StreamTableEnvironment.from_table_source#

StreamTableEnvironment.from_table_source(table_source: TableSource) → Table#

Creates a table from a table source.

Example:

>>> csv_table_source = CsvTableSource(
...     csv_file_path, ['a', 'b'], [DataTypes.STRING(), DataTypes.BIGINT()])
>>> table_env.from_table_source(csv_table_source)
Parameters

table_source – The table source used as table.

Returns

The result table.

previous

pyflink.table.table_environment.StreamTableEnvironment.from_path

next

pyflink.table.table_environment.StreamTableEnvironment.from_data_stream

On this page
  • StreamTableEnvironment.from_table_source()
Show Source

Created using Sphinx 5.3.0.