Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The amount of functions is different in spider2-lite.json and the corresponding gold SQL query #2

Open
riddiculous opened this issue Sep 26, 2024 · 1 comment

Comments

@riddiculous
Copy link

For example, in bq026, the functions claimed in spider2-lite.json are:
"special_function": [
"aggregate-functions/ANY_VALUE",
"aggregate-functions/ARRAY_AGG",
"aggregate-functions/GROUPING",
"aggregate-functions/STRING_AGG",
"conversion-functions/CAST",
"mathematical-functions/FLOOR",
"string-functions/REGEXP_CONTAINS",
"conditional-functions/IF",
"other-functions/UNNEST",
"other-functions/ARRAY_SUBSCRIPT"
]
However, the function GROUPING and IF are not used in the gold SQL of bq026. I wonder whether they need to be consistent.

@lfy79001
Copy link
Collaborator

Hi, the "special_function" is intended solely for analysis; it is not a fundamental setting of our task nor the only ground truth. In fact, there may be multiple gold SQL queries that can solve a task, each utilizing different functions. Regarding your question, we acknowledge this oversight and will correct the bug promptly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants