fhueske commented on a change in pull request #10078: [FLINK-14486][table-api, 
docs] Update documentation regarding Temporary Objects
URL: https://github.com/apache/flink/pull/10078#discussion_r343208124
 
 

 ##########
 File path: docs/dev/table/common.md
 ##########
 @@ -345,133 +370,139 @@ tableEnv.registerTable("projectedTable", projTable)
 table_env = ... # see "Create a TableEnvironment" section
 
 # table is the result of a simple projection query 
-proj_table = table_env.scan("X").select(...)
+proj_table = table_env.from_path("X").select(...)
 
 # register the Table projTable as table "projectedTable"
 table_env.register_table("projectedTable", proj_table)
 {% endhighlight %}
 </div>
 </div>
 
-**Note:** A registered `Table` is treated similarly to a `VIEW` as known from 
relational database systems, i.e., the query that defines the `Table` is not 
optimized but will be inlined when another query references the registered 
`Table`. If multiple queries reference the same registered `Table`, it will be 
inlined for each referencing query and executed multiple times, i.e., the 
result of the registered `Table` will *not* be shared.
+**Note:** `Table` objects are similar to `VIEW`'s from relational database
+systems, i.e., the query that defines the `Table` is not optimized but will be 
inlined when another
+query references the registered `Table`. If multiple queries reference the 
same registered `Table`,
+it will be inlined for each referencing query and executed multiple times, 
i.e., the result of the
+registered `Table` will *not* be shared.
 
 {% top %}
 
-### Register a TableSource
-
-A `TableSource` provides access to external data which is stored in a storage 
system such as a database (MySQL, HBase, ...), a file with a specific encoding 
(CSV, Apache \[Parquet, Avro, ORC\], ...), or a messaging system (Apache Kafka, 
RabbitMQ, ...). 
-
-Flink aims to provide TableSources for common data formats and storage 
systems. Please have a look at the [Table Sources and Sinks]({{ site.baseurl 
}}/dev/table/sourceSinks.html) page for a list of supported TableSources and 
instructions for how to build a custom `TableSource`.
+#### Connector tables
 
 Review comment:
   Connector Tables

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to