Skip to content

Commit

Permalink
make schemaForExplain protected
Browse files Browse the repository at this point in the history
  • Loading branch information
mtoy-googly-moogly committed Jan 16, 2025
1 parent 07db04a commit c6c556c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/malloy-db-trino/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,5 @@ export {
PrestoConnection,
TrinoConnection,
TrinoPrestoConnection,
TrinoPrestoSchemaParser,
} from './trino_connection';
export {TrinoExecutor} from './trino_executor';
4 changes: 2 additions & 2 deletions packages/malloy-db-trino/src/trino_connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ export class PrestoConnection extends TrinoPrestoConnection {
this.schemaFromExplain(explainResult, structDef);
}

private schemaFromExplain(
protected schemaFromExplain(
explainResult: MalloyQueryData,
structDef: StructDef
) {
Expand Down Expand Up @@ -532,7 +532,7 @@ export class TrinoConnection extends TrinoPrestoConnection {
* ARRAY_TYPE: ARRAY '(' TYPE ')'
* REC_TYPE: REC '(' "name" TYPE (, "name" TYPE)* ')'
*/
export class TrinoPrestoSchemaParser extends TinyParser {
class TrinoPrestoSchemaParser extends TinyParser {
constructor(
readonly input: string,
readonly dialect: Dialect
Expand Down

0 comments on commit c6c556c

Please sign in to comment.