You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Firebase Google Group
When building simple select queries in GraphQL (really simple ones), the query is being transformed to a function, sending the values through as parameters.
We ran into instances where the select for 50 columns in the schema (a standard employment record, nothing special) is transformed and we end up getting thecannot pass more than 100 arguments to a functionas included below.
I am genuinely curious if anyone else ran into this limitation, as I searched far and wide, and could not find anything except on Postgres forums and the solution they have as detailed below underroot cause, which is not applicable unless built into Data Connect.
Replication: You can create a table with 51 columns in theschema.gql. Select these columns fromqueries.gqland you will get the below error.
The error as reference: u/firebase/data-connect: DataConnect (11.4.0): Error while performing request: {"error":{"code":400,"message":"cannot prepare SQL statement: *SELECT ... END* SQL Error: pq: cannot pass more than 100 arguments to a function","status":"FAILED\_PRECONDITION"}}
I could honestly find no one that ran into this issue, and it seems this is purely because of howData Connectconverts it to a function. I could find no settings, nor workaround. So this means we are at a point where we need to abandonData Connector pray that we are missing something crucial. I will reach out to the team, and give feedback here. Just in case someone runs into the same blocker.