paul-rogers commented on a change in pull request #2030: Update docs for
Metastore to point that all format plugins are supported
URL: https://github.com/apache/drill/pull/2030#discussion_r394570531
##########
File path: _docs/sql-reference/sql-commands/021-create-schema.md
##########
@@ -569,7 +573,7 @@ Running EXPLAIN PLAN, you can see that type conversion was
done while reading da
00-02 Scan(table=[[dfs, tmp, text_table]],
groupscan=[EasyGroupScan [selectionRoot=file:/tmp/text_table, numFiles=2,
columns=[`**`], files=[file:/tmp/text_table/1.csvh,
file:/tmp/text_table/2.csvh], schema=[TupleSchema [PrimitiveColumnMetadata
[`id` (INT(0, 0):OPTIONAL)]]]]])
### Describing Schema for a Table
-After you create schema, you can examine the schema using the DESCRIBE SCHEMA
FOR TABLE command. Schema can print to JSON or STATEMENT format. JSON format is
the default if no format is indicated in the query. Schema displayed in JSON
format is the same as the JSON format in the `.drill.schema` file.
+After you create schema, you can examine the schema using the `DESCRIBE SCHEMA
FOR TABLE` command. Schema can print to `JSON` or `STATEMENT` format. `JSON`
format is the default if no format is indicated in the query. Schema displayed
in `JSON `format is the same as the `JSON` format in the `.drill.schema` file.
Review comment:
((Note: text here is bold. Is this a Github error or a bug in the markdown?))
You can verify the provided schema using the `DESCRIBE SCHEMA FOR TABLE`
command ((insert link)). This command can format the schema in two formats. The
`JSON` format is the same as the contents of the `.drill.schema` file stored in
your table directory.
((Example here.))
You can also use the `STATEMENT` format to recover the SQL statement to
recreate the schema. You can easily copy, reuse or edit this statement to
change the schema or reuse the statement for other files.
((Example here.))
----------------------------------------------------------------
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