Github user fhueske commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1318#discussion_r44281719
  
    --- Diff: docs/libs/table.md ---
    @@ -123,13 +123,205 @@ DataSet<WC> result = tableEnv.toDataSet(filtered, 
WC.class);
     When using Java, the embedded DSL for specifying expressions cannot be 
used. Only String expressions
     are supported. They support exactly the same feature set as the expression 
DSL.
     
    -## Expression Syntax
    +## Table API Operators
    +Table API provide a domain-spcific language to execute language-integrated 
query on structured data in Scala and Java.
    +This section gives a brief overview of all available operators. You can 
find more details of operators in the 
[Javadoc](http://flink.apache.org/docs/latest/api/java/org/apache/flink/api/table/Table.html).
    +
    +<div class="codetabs" markdown="1">
    +<div data-lang="java" markdown="1">
    +
    +<br />
    +
    +<table class="table table-bordered">
    +  <thead>
    +    <tr>
    +      <th class="text-left" style="width: 20%">Operators</th>
    +      <th class="text-center">Description</th>
    +    </tr>
    +  </thead>
    +
    +  <tbody>
    +    <tr>
    +      <td><strong>Select</strong></td>
    +      <td>
    +        <p>Similar to a SQL SELECT statement. Perform a select 
operation.</p>
    +{% highlight java %}
    +Table in = tableEnv.fromDataSet(ds, "a, b, c");
    +Table result = in.select("a, b, c as d");
    --- End diff --
    
    Leave out `a` or `b` to demonstrate the projection?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to