mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-22 15:04:04 +00:00
Add comments to the test files
This commit is contained in:
parent
304710d59a
commit
67cc880fd1
3 changed files with 10 additions and 0 deletions
|
@ -1,4 +1,10 @@
|
|||
#![warn(clippy::all)]
|
||||
//! Test SQL syntax, which all sqlparser dialects must parse in the same way.
|
||||
//!
|
||||
//! Note that it does not mean all SQL here is valid in all the dialects, only
|
||||
//! that 1) it's either standard or widely supported and 2) it can be parsed by
|
||||
//! sqlparser regardless of the chosen dialect (i.e. it doesn't conflict with
|
||||
//! dialect-specific parsing rules).
|
||||
|
||||
use matches::assert_matches;
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#![warn(clippy::all)]
|
||||
//! Test SQL syntax specific to Microsoft's T-SQL. The parser based on the
|
||||
//! generic dialect is also tested (on the inputs it can handle).
|
||||
|
||||
use sqlparser::dialect::{GenericSqlDialect, MsSqlDialect};
|
||||
use sqlparser::sqlast::*;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#![warn(clippy::all)]
|
||||
//! Test SQL syntax specific to PostgreSQL. The parser based on the
|
||||
//! generic dialect is also tested (on the inputs it can handle).
|
||||
|
||||
use sqlparser::dialect::{GenericSqlDialect, PostgreSqlDialect};
|
||||
use sqlparser::sqlast::*;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue