这是我的代码
DROP DATABASE IF EXISTS MyDb;
CREATE DATABASE MyDb;
USE DATABASE MyDb;
DROP TABLE IF EXISTS CommanTable;
CREATE TABLE CommanTable (
UserID int,
Start DateTime,
Region string,
Query string,
Duration int,
Urls string,
ClickedUrls string
);
DROP FUNCTION IF EXISTS CommanFunction;
CREATE FUNCTION CommanFunction()
RETURNS @row TABLE(UserID int, Start DateTime, Region string, Query string, Duration int, Urls string, ClickedUrls string)
AS
BEGIN
@row =
EXTRACT UserID int,
Start DateTime,
Region string,
Query string,
Duration int,
Urls string,
ClickedUrls string
FROM "/input/{*}"
USING Extractors.Tsv();
RETURN;
END;
INSERT INTO CommanTable CommanFunction() AS D;
这是错误越来越 1.严重性代码说明项目文件行抑制状态 错误E_CSC_USER_SYNTAXERROR语法错误。预期之一:“。”在选项分区上将开始的分布式分配的分区分配为重新分配的分布式选择开关,以';'开头的值'('')'',''<''>'USQLApplication4 C:\ Users \ Dell \ source \ repos \ USQLApplication4 \ USQLApplication4 \ Script.usql 51
2.Severity Code描述项目文件行抑制状态 警告对文件集的所有最终查询都应在所有虚拟列上都有一个谓词,以启用分区消除功能,以提高查询性能。 USQLApplication4 C:\ Users \ Dell \ source \ repos \ USQLApplication4 \ USQLApplication4 \ Script.usql 7