2021-04-12 13:18:29 +03:00
|
|
|
{-# OPTIONS_GHC -fno-warn-orphans #-}
|
|
|
|
|
2021-11-04 19:08:33 +03:00
|
|
|
module Hasura.Backends.BigQuery.Instances.Metadata () where
|
2021-04-12 13:18:29 +03:00
|
|
|
|
2021-09-24 01:56:37 +03:00
|
|
|
import Hasura.Backends.BigQuery.DDL qualified as BigQuery
|
2022-05-05 16:43:50 +03:00
|
|
|
import Hasura.Prelude
|
|
|
|
import Hasura.RQL.Types.EventTrigger (RecreateEventTriggers (RETDoNothing))
|
2021-09-24 01:56:37 +03:00
|
|
|
import Hasura.RQL.Types.Metadata.Backend
|
|
|
|
import Hasura.SQL.Backend
|
2021-04-12 13:18:29 +03:00
|
|
|
|
|
|
|
instance BackendMetadata 'BigQuery where
|
2022-05-05 16:43:50 +03:00
|
|
|
prepareCatalog = const $ pure RETDoNothing
|
2021-09-24 01:56:37 +03:00
|
|
|
buildComputedFieldInfo = BigQuery.buildComputedFieldInfo
|
2021-04-12 13:18:29 +03:00
|
|
|
fetchAndValidateEnumValues = BigQuery.fetchAndValidateEnumValues
|
2021-09-24 01:56:37 +03:00
|
|
|
resolveSourceConfig = BigQuery.resolveSourceConfig
|
2022-03-08 16:02:13 +03:00
|
|
|
resolveDatabaseMetadata _ = BigQuery.resolveSource
|
2021-09-24 01:56:37 +03:00
|
|
|
parseBoolExpOperations = BigQuery.parseBoolExpOperations
|
|
|
|
buildFunctionInfo = BigQuery.buildFunctionInfo
|
2021-04-12 13:18:29 +03:00
|
|
|
updateColumnInEventTrigger = BigQuery.updateColumnInEventTrigger
|
2021-09-24 01:56:37 +03:00
|
|
|
parseCollectableType = BigQuery.parseCollectableType
|
|
|
|
postDropSourceHook = BigQuery.postDropSourceHook
|