Expand description
SQL validation module for Athena CLI.
This module provides functionality to validate SQL queries before sending them to AWS Athena. It uses the sqlparser crate to parse and validate SQL syntax according to ANSI SQL standards, which is compatible with Athena’s SQL dialect.
§Features
- SQL syntax validation using ANSI SQL standards
- Detailed error messages for syntax issues
- Validation before query execution to save time and costs
Functions§
- validate_
query_ syntax - Validates the syntax of an Athena SQL query.