You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by dh...@apache.org on 2022/10/23 18:46:13 UTC

[arrow-datafusion] branch master updated: doc: fix doc about `CREATE TABLE IF NOT EXISTS` (#3932)

This is an automated email from the ASF dual-hosted git repository.

dheres pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git


The following commit(s) were added to refs/heads/master by this push:
     new e669480c7 doc: fix doc about `CREATE TABLE IF NOT EXISTS` (#3932)
e669480c7 is described below

commit e669480c77dd405868299012910746c4b1b875bc
Author: jakevin <ja...@gmail.com>
AuthorDate: Mon Oct 24 02:46:07 2022 +0800

    doc: fix doc about `CREATE TABLE IF NOT EXISTS` (#3932)
---
 docs/source/user-guide/sql/ddl.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/source/user-guide/sql/ddl.md b/docs/source/user-guide/sql/ddl.md
index 0d82768aa..c531312b1 100644
--- a/docs/source/user-guide/sql/ddl.md
+++ b/docs/source/user-guide/sql/ddl.md
@@ -87,7 +87,7 @@ CREATE [OR REPLACE] TABLE [IF NOT EXISTS] <b><i>table_name</i></b> AS [SELECT |
 </pre>
 
 ```sql
-CREATE TABLE valuetable IF NOT EXISTS AS VALUES(1,'HELLO'),(12,'DATAFUSION');
+CREATE TABLE IF NOT EXISTS valuetable AS VALUES(1,'HELLO'),(12,'DATAFUSION');
 
 CREATE TABLE memtable as select * from valuetable;
 ```
@@ -112,7 +112,7 @@ DROP TABLE IF EXISTS nonexistent_table;
 View is a virtual table based on the result of a SQL query. It can be created from an existing table or values list.
 
 <pre>
-CREATE VIEW <i><b>view_name</i></b> AS statement;
+CREATE VIEW <i><b>view_name</b></i> AS statement;
 </pre>
 
 ```sql