WeiZhong94 opened a new pull request #8561: [FLINK-12588][python] Add 
TableSchema for Python Table API.
URL: https://github.com/apache/flink/pull/8561
 
 
   ## What is the purpose of the change
   
   This pull request is intended to add TableSchema for Python Table API. For 
this goal, a `_to_python_type` function is introduced in this pull request. 
This function is for converting Java's DataType and TypeInformation objects 
into Python's DataType objects. For ensuring that `_to_python_type` and the 
existing `_to_java_type` are mutually inverse functions, this PR makes some 
changes on the flink python type system.
   
   
   ## Brief change log
   
     - *Add the `TableSchema` class.*
     - *Add `get_schema` method in `Table` class.*
     - *Add `schema` method in `OldCsv` and `Schema` class.*
     - *Add `_to_python_type` function.*
     - *Changed many default value and default behavior of current data types.*
   
   
   ## Verifying this change
   
   Added integration tests in `test_table_schema.py`, 
`test_schema_operation.py` and `test_types.py`.
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: (no)
     - The serializers: (no)
     - The runtime per-record code paths (performance sensitive): (no)
     - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
     - The S3 file system connector: (no)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (yes)
     - If yes, how is the feature documented? (python docs)
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to