Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ParseSelectStatement (0.09 sec)

  1. internal/s3select/sql/statement.go

    	// (otherwise -1)
    	limitValue int64
    
    	// Count of rows that have been output.
    	outputCount int64
    
    	// Table alias
    	tableAlias string
    }
    
    // ParseSelectStatement - parses a select query from the given string
    // and analyzes it.
    func ParseSelectStatement(s string) (stmt SelectStatement, err error) {
    	var selectAST Select
    	err = SQLParser.ParseString(s, &selectAST)
    	if err != nil {
    		err = errQueryParseFailure(err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. internal/s3select/select.go

    	}
    
    	if parsedS3Select.Output.IsEmpty() {
    		return errMissingRequiredParameter(fmt.Errorf("OutputSerialization must be provided"))
    	}
    
    	statement, err := sql.ParseSelectStatement(parsedS3Select.Expression)
    	if err != nil {
    		return err
    	}
    
    	parsedS3Select.statement = &statement
    
    	*s3Select = S3Select(parsedS3Select)
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top