Skip to content

Conversation

Mytherin
Copy link
Collaborator

Fix #14545

Yacc "helpfully" allows you to accidentally define an empty token, which defaults to returning nothing, in the following way:

pivot_header:
	| d_expr	                 			{ $$ = list_make1($1); }

This PR fixes the issue and makes the query return a syntax error (as it should).

@Mytherin Mytherin merged commit f5ebc9b into duckdb:main Oct 25, 2024
41 checks passed
github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Nov 2, 2024
github-actions bot added a commit to duckdb/duckdb-r that referenced this pull request Nov 2, 2024
Fix duckdb/duckdb#14545 - pivot header must be defined in the grammar (duckdb/duckdb#14556)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
@Mytherin Mytherin deleted the issue14545 branch December 8, 2024 06:52
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

Successfully merging this pull request may close these issues.

DuckDB SEGV when running nested PIVOT
1 participant