1

Using sample script from a Data Lake Analytics tutorial, the following error occurs when building the script:

E_CSC_USER_SYNTAXERROR: syntax error. Expected one of: RETURN '[' ALTER COMBINE CREATE DECLARE DEPLOY DROP END EXTRACT IF INSERT OUTPUT PROCESS REDUCE REFERENCE RESOURCE SELECT SET TABLE TRUNCATE UPDATE USE USING VIEW identifier quoted-identifier variable ';' '('

The error line is the last line of the script. The script in the tutorial does end with an OUTPUT statement, which the syntax error is saying is expected.

Any thoughts?

2 Answers 2

4

(Azure DL Team here as well): We identified the issues and are going to fix it. In the mean time:

  1. Please split the script that does the create and load and then query into two scripts: one that does the create and load, and one that does the query.

  2. The end of the definition of the TVF (before DROP TABLE IF EXISTS ) needs an END;

I hope this helps. Michael

Sign up to request clarification or add additional context in comments.

Comments

4

Looks like we may have an error in the example. We are investigating. Will update as soon as we learn more.

1 Comment

The sample script has been fixed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.