userfile: IMPORT doesn't correctly build a default 'host' for users with special characters in the username #99971
Labels
A-disaster-recovery
A-import
Issues related to IMPORT syntax
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-sql-queries
SQL Queries Team
Projects
Describe the problem
Create a user with a
.
in the username (or any other special character).Use this user to upload a small csv file for future import:
Note that this creates the userfiles table with names in a hex format (
encode('my.user', 'hex')
):Now create a table and try to import that file:
It looks like it's attempting to deal with a table called
"userfiles_my.user"_upload_files
instead of the hex-encoded version.Running this as a user without a special character in the name works fine.
Jira issue: CRDB-26160
The text was updated successfully, but these errors were encountered: