Update src/TableFunctions/TableFunctionFile.cpp

Co-authored-by: Kruglov Pavel <48961922+Avogar@users.noreply.github.com>
This commit is contained in:
wuxiaobai24 2022-04-28 20:47:49 +08:00 committed by GitHub
parent 7955eb2100
commit 6fa0c90955
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ void TableFunctionFile::parseFirstArguments(const ASTPtr & arg, ContextPtr conte
}
else
throw Exception(
"The second argument of table function '" + getName() + "' mush be path or file descriptor", ErrorCodes::BAD_ARGUMENTS);
"The first argument of table function '" + getName() + "' mush be path or file descriptor", ErrorCodes::BAD_ARGUMENTS);
}
}