fix(minor): fieldnames can't have commas
This commit is contained in:
parent
a2ffea53f2
commit
511a5ddc4b
1 changed files with 3 additions and 0 deletions
|
|
@ -108,6 +108,9 @@ def is_standard(fieldname):
|
|||
return fieldname in default_fields or fieldname in optional_fields
|
||||
|
||||
def extract_fieldname(field):
|
||||
if ',' in field:
|
||||
raise_invalid_field(field)
|
||||
|
||||
fieldname = field.split(" as ")[0]
|
||||
|
||||
# certain functions allowed, extract the fieldname from the function
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue