New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dt-sql-parser

Package Overview
Dependencies
Maintainers
7
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dt-sql-parser - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1-beta.0

43

dist/lib/flink/FlinkSqlParserVisitor.d.ts

@@ -143,2 +143,3 @@ import { AbstractParseTreeVisitor } from "antlr4ng";

import { ArithmeticUnaryContext } from "./FlinkSqlParser.js";
import { FunctionCallExpressionContext } from "./FlinkSqlParser.js";
import { DereferenceContext } from "./FlinkSqlParser.js";

@@ -157,6 +158,7 @@ import { SimpleCaseContext } from "./FlinkSqlParser.js";

import { PositionContext } from "./FlinkSqlParser.js";
import { DateFunctionExpressionContext } from "./FlinkSqlParser.js";
import { FirstContext } from "./FlinkSqlParser.js";
import { FunctionNameCreateContext } from "./FlinkSqlParser.js";
import { FunctionNameContext } from "./FlinkSqlParser.js";
import { FunctionNameAndParamsContext } from "./FlinkSqlParser.js";
import { FunctionNameWithParamsContext } from "./FlinkSqlParser.js";
import { FunctionParamContext } from "./FlinkSqlParser.js";

@@ -214,2 +216,4 @@ import { DereferenceDefinitionContext } from "./FlinkSqlParser.js";

import { ReservedKeywordsUsedAsFuncParamContext } from "./FlinkSqlParser.js";
import { ReservedKeywordsNoParamsUsedAsFuncNameContext } from "./FlinkSqlParser.js";
import { ReservedKeywordsFollowParamsUsedAsFuncNameContext } from "./FlinkSqlParser.js";
import { ReservedKeywordsUsedAsFuncNameContext } from "./FlinkSqlParser.js";

@@ -1083,2 +1087,8 @@ import { NonReservedKeywordsContext } from "./FlinkSqlParser.js";

/**
* Visit a parse tree produced by `FlinkSqlParser.functionCallExpression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitFunctionCallExpression?: (ctx: FunctionCallExpressionContext) => Result;
/**
* Visit a parse tree produced by the `dereference`

@@ -1175,9 +1185,2 @@ * labeled alternative in `FlinkSqlParser.primaryExpression`.

/**
* Visit a parse tree produced by the `dateFunctionExpression`
* labeled alternative in `FlinkSqlParser.primaryExpression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitDateFunctionExpression?: (ctx: DateFunctionExpressionContext) => Result;
/**
* Visit a parse tree produced by the `first`

@@ -1202,2 +1205,14 @@ * labeled alternative in `FlinkSqlParser.primaryExpression`.

/**
* Visit a parse tree produced by `FlinkSqlParser.functionNameAndParams`.
* @param ctx the parse tree
* @return the visitor result
*/
visitFunctionNameAndParams?: (ctx: FunctionNameAndParamsContext) => Result;
/**
* Visit a parse tree produced by `FlinkSqlParser.functionNameWithParams`.
* @param ctx the parse tree
* @return the visitor result
*/
visitFunctionNameWithParams?: (ctx: FunctionNameWithParamsContext) => Result;
/**
* Visit a parse tree produced by `FlinkSqlParser.functionParam`.

@@ -1520,2 +1535,14 @@ * @param ctx the parse tree

/**
* Visit a parse tree produced by `FlinkSqlParser.reservedKeywordsNoParamsUsedAsFuncName`.
* @param ctx the parse tree
* @return the visitor result
*/
visitReservedKeywordsNoParamsUsedAsFuncName?: (ctx: ReservedKeywordsNoParamsUsedAsFuncNameContext) => Result;
/**
* Visit a parse tree produced by `FlinkSqlParser.reservedKeywordsFollowParamsUsedAsFuncName`.
* @param ctx the parse tree
* @return the visitor result
*/
visitReservedKeywordsFollowParamsUsedAsFuncName?: (ctx: ReservedKeywordsFollowParamsUsedAsFuncNameContext) => Result;
/**
* Visit a parse tree produced by `FlinkSqlParser.reservedKeywordsUsedAsFuncName`.

@@ -1522,0 +1549,0 @@ * @param ctx the parse tree

@@ -21,2 +21,5 @@ import { FlinkSqlLexer } from '../../lib/flink/FlinkSqlLexer';

FlinkSqlParser.RULE_functionName, // functionName
FlinkSqlParser.RULE_functionNameWithParams, // functionName
FlinkSqlParser.RULE_reservedKeywordsFollowParamsUsedAsFuncName, // functionName
FlinkSqlParser.RULE_reservedKeywordsNoParamsUsedAsFuncName, // functionName
FlinkSqlParser.RULE_functionNameCreate, // functionName that will be created

@@ -80,3 +83,6 @@ FlinkSqlParser.RULE_columnName,

}
case FlinkSqlParser.RULE_functionName: {
case FlinkSqlParser.RULE_functionName:
case FlinkSqlParser.RULE_functionNameWithParams:
case FlinkSqlParser.RULE_reservedKeywordsFollowParamsUsedAsFuncName:
case FlinkSqlParser.RULE_reservedKeywordsNoParamsUsedAsFuncName: {
syntaxContextType = EntityContextType.FUNCTION;

@@ -83,0 +89,0 @@ break;

2

package.json
{
"name": "dt-sql-parser",
"version": "4.1.0",
"version": "4.1.1-beta.0",
"authors": "DTStack Corporation",

@@ -5,0 +5,0 @@ "description": "SQL Parsers for BigData, built with antlr4",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc