Skip to content

Commit 5726a1f

Browse files
committed
address comments
1 parent 0575f06 commit 5726a1f

File tree

3 files changed

+8
-27
lines changed

3 files changed

+8
-27
lines changed

docs/sql-ref-functions-builtin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ license: |
7070
### JSON Functions
7171
{% include_relative generated-json-funcs-table.html %}
7272
#### Examples
73-
{% include_relative generated-agg-funcs-examples.html %}
73+
{% include_relative generated-json-funcs-examples.html %}
7474
{% break %}
7575
{% endif %}
7676
{% endfor %}

docs/sql-ref-syntax-aux-show-partitions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ SHOW PARTITIONS table_identifier [ partition_spec ]
4242
* **partition_spec**
4343

4444
An optional parameter that specifies a comma separated list of key and value pairs
45-
for partitions. When specified, the partitions that match the partition spec are returned.
45+
for partitions. When specified, the partitions that match the partition specification are returned.
4646

4747
**Syntax:** `PARTITION ( partition_col_name = partition_col_val [ , ... ] )`
4848

docs/sql-ref-syntax-qry-select-tvf.md

Lines changed: 6 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -43,31 +43,12 @@ function_name ( expression [ , ... ] ) [ table_alias ]
4343

4444
### Supported Table-valued Functions
4545

46-
<table class="table">
47-
<thead>
48-
<tr><th style="width:25%">Function</th><th>Argument Type(s)</th><th>Description</th></tr>
49-
</thead>
50-
<tr>
51-
<td><b> range </b>( <i>end</i> )</td>
52-
<td> Long </td>
53-
<td>Creates a table with a single <code>LongType</code> column named <code>id</code>, containing rows in a range from 0 to <code>end</code> (exclusive) with step value 1.</td>
54-
</tr>
55-
<tr>
56-
<td><b> range </b>( <i> start, end</i> )</td>
57-
<td> Long, Long </td>
58-
<td width="60%">Creates a table with a single <code>LongType</code> column named <code>id</code>, containing rows in a range from <code>start</code> to <code>end</code> (exclusive) with step value 1.</td>
59-
</tr>
60-
<tr>
61-
<td><b> range </b>( <i> start, end, step</i> )</td>
62-
<td> Long, Long, Long </td>
63-
<td width="60%">Creates a table with a single <code>LongType</code> column named <code>id</code>, containing rows in a range from <code>start</code> to <code>end</code> (exclusive) with <code>step</code> value.</td>
64-
</tr>
65-
<tr>
66-
<td><b> range </b>( <i> start, end, step, numPartitions</i> )</td>
67-
<td> Long, Long, Long, Int </td>
68-
<td width="60%">Creates a table with a single <code>LongType</code> column named <code>id</code>, containing rows in a range from <code>start</code> to <code>end</code> (exclusive) with <code>step</code> value, with partition number <code>numPartitions</code> specified. </td>
69-
</tr>
70-
</table>
46+
|Function|Argument Type(s)|Description|
47+
|--------|----------------|-----------|
48+
|**range** ( *end* )|Long|Creates a table with a single *LongType* column named *id*, <br/> containing rows in a range from 0 to *end* (exclusive) with step value 1.|
49+
|**range** ( *start, end* )|Long, Long|Creates a table with a single *LongType* column named *id*, <br/> containing rows in a range from *start* to *end* (exclusive) with step value 1.|
50+
|**range** ( *start, end, step* )|Long, Long, Long|Creates a table with a single *LongType* column named *id*, <br/> containing rows in a range from *start* to *end* (exclusive) with *step* value.|
51+
|**range** ( *start, end, step, numPartitions* )|Long, Long, Long, Int|Creates a table with a single *LongType* column named *id*, <br/> containing rows in a range from *start* to *end* (exclusive) with *step* value, with partition number *numPartitions* specified.|
7152

7253
### Examples
7354

0 commit comments

Comments
 (0)