Hello!!! I have setup Elementary and using custom ...
# community-support
n
Hello!!! I have setup Elementary and using custom
generate_schema_name
to override elementary's behavior to write to different target. When I am generating report, Its not showing execution run logs for all the schema name. How can I fix this? Can anybody help me out? Additional details in thread.
Copy code
req - 
elementary-data[bigquery]==0.12.1

macro - 
{#-- Custom addition for elementary --#}
{%- elif custom_schema_name == "elementary" -%}
    {%- if default_schema.endswith("a_mart") -%}
        a_{{custom_schema_name}}
    {%- elif default_schema.endswith("b_mart") -%}
        b_{{custom_schema_name}}
    {%- else -%}
        c_{{custom_schema_name}}
    {%- endif -%}

project - 
  elementary:
    +schema: elementary
    +enabled: "{{ env_var('ENV') in ['prd','val'] }}"
    edr:
      dbt_artifacts:
        dbt_columns:
          +enabled: false
        enriched_columns:
          +enabled: false
        dbt_artifacts_hashes:
          +enabled: false
      metadata_store:
        +enabled: false

package - 

  - package: elementary-data/elementary
    version: 0.12.0
    ## Docs: <https://docs.elementary-data.com>

profile - 

elementary:
  target: "{{ env_var('ENV') }}"
  outputs:
    a_mart:
      type: bigquery
      method: oauth
      project: "{{ env_var('PROJECT_ID') }}"
      dataset: "a_elementary"
    b_mart:
      type: bigquery
      method: oauth
      project: "{{ env_var('PROJECT_ID') }}"
      dataset: "b_elementary"
    c_mart:
      type: bigquery
      method: oauth
      project: "{{ env_var('PROJECT_ID') }}"
      dataset: "c_elementary"
      retries: 1
I am generating a report by targeting a profile but 1 important schema is completely missing from the run execution logs.
Happy to provide more information if needed.
o
Hi @Niteesh Kanungo, care to share your
dbt.log
and
edr.log
files? privately is ok too if you wish? also what schema is missing? from which target?