public final SampleContext sample() throws RecognitionException {
		SampleContext _localctx = new SampleContext(_ctx, getState());
		enterRule(_localctx, 104, RULE_sample);
		try {
			enterOuterAlt(_localctx, 1);
			{
			setState(973);
			match(TABLESAMPLE);
			setState(974);
			match(LEFT_PAREN);
			setState(976);
			_errHandler.sync(this);
			switch ( getInterpreter().adaptivePredict(_input,132,_ctx) ) {
			case 1:
				{
				setState(975);
				sampleMethod();
				}
				break;
			}
			setState(978);
			match(RIGHT_PAREN);
			setState(983);
			_errHandler.sync(this);
			switch ( getInterpreter().adaptivePredict(_input,133,_ctx) ) {
			case 1:
				{
				setState(979);
				match(REPEATABLE);
				setState(980);
				match(LEFT_PAREN);
				setState(981);
				((SampleContext)_localctx).seed = match(INTEGER_VALUE);
				setState(982);
				match(RIGHT_PAREN);
				}
				break;
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}
When true, the behavior of keywords follows ANSI SQL standard.
amoro-format-mixed/amoro-mixed-spark/v3.5/amoro-mixed-spark-3.5/src/main/gen-antlr/org/apache/amoro/spark/sql/parser/MixedFormatSqlExtendParser.java