Skip to content

Commit

Permalink
chore(data-warehouse): use correct type (#23952)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
EDsCODE and github-actions[bot] authored Jul 25, 2024
1 parent 52abc25 commit 51c28a7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions frontend/src/scenes/data-warehouse/utils.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { DatabaseSchemaField, DataTableNode, NodeKind } from '~/queries/schema'
import { DatabaseSchemaField, DataVisualizationNode, NodeKind } from '~/queries/schema'

export const defaultQuery = (table: string, columns: DatabaseSchemaField[]): DataTableNode => {
export const defaultQuery = (table: string, columns: DatabaseSchemaField[]): DataVisualizationNode => {
return {
kind: NodeKind.DataTableNode,
full: true,
kind: NodeKind.DataVisualizationNode,
source: {
kind: NodeKind.HogQLQuery,
// TODO: Use `hogql` tag?
Expand Down

0 comments on commit 51c28a7

Please sign in to comment.