You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a field is defined in the GraphQL schema and its underlying type is an array, the compilation currently fails with a RuntimeException.
For example, consider the following query where a function returns a double[]:
results := SELECT prompt AS pr,
vector_embedd(prompt, 'text-embedding-ada-002') AS em
FROM data;
If the em field is not included in the GraphQL schema, compilation succeeds without issue. However, if em is added to the schema, compilation fails because the necessary mapping for arrays is not implemented.
type Results {
pr: String
em: [Int]
}
type Query {
results(pr: String, limit: Int = 10, offset: Int = 0): [Results!]
}
For more context on the source of the issue, refer to the following line in the SchemaWalker.java file: SchemaWalker.java - Line 114
The text was updated successfully, but these errors were encountered:
When a field is defined in the GraphQL schema and its underlying type is an array, the compilation currently fails with a RuntimeException.
For example, consider the following query where a function returns a double[]:
If the em field is not included in the GraphQL schema, compilation succeeds without issue. However, if em is added to the schema, compilation fails because the necessary mapping for arrays is not implemented.
For more context on the source of the issue, refer to the following line in the SchemaWalker.java file:
SchemaWalker.java - Line 114
The text was updated successfully, but these errors were encountered: