Giter Site home page Giter Site logo

Compilation Error in model snowplow_web_ua_parser_context (models/page_views/optional/snowplow_web_ua_parser_context.sql) at path ['enabled']: None is not of type 'boolean' Code: 10004 about snowplow HOT 3 OPEN

dbt-labs avatar dbt-labs commented on July 3, 2024
Compilation Error in model snowplow_web_ua_parser_context (models/page_views/optional/snowplow_web_ua_parser_context.sql) at path ['enabled']: None is not of type 'boolean' Code: 10004

from snowplow.

Comments (3)

anujkumarsi avatar anujkumarsi commented on July 3, 2024 1

Now I am getting below error

Compilation Error in model snowplow_base_web_page_context (models/base/snowplow_base_web_page_context.sql)
Model 'model.snowplow.snowplow_base_web_page_context' (models/base/snowplow_base_web_page_context.sql) depends on a node named 'sp_base_web_page_context' which was not found Code: 10004

from snowplow.

jtcohen6 avatar jtcohen6 commented on July 3, 2024

Hey @nickdcox, this error will appear if you haven't set a value for the variable snowplow:context:useragent, resulting in a None value here:

https://github.com/fishtown-analytics/snowplow/blob/f24a2bf91d4ce44f789d1cae0e33d85aa7f8eb58/models/page_views/optional/snowplow_web_ua_parser_context.sql#L6

This package requires you to specify a number of configuration variables in your dbt_project.yml. It should look something like:

# dbt_project.yml

...

vars:
  'snowplow:timezone': 'America/New_York'
  'snowplow:page_ping_frequency': 10
  'snowplow:events': "{{ ref('sp_base_events') }}"
  'snowplow:context:web_page': "{{ ref('sp_base_web_page_context') }}"
  'snowplow:context:performance_timing': false
  'snowplow:context:useragent': false
  'snowplow:pass_through_columns': []
  'snowplow:page_view_lookback_days': 1

We could avoid this specific error message by editing the line at the top to be:

enabled=(var('snowplow:context:useragent', false) and is_adapter('default'))

from snowplow.

anujkumarsi avatar anujkumarsi commented on July 3, 2024

I am still getting the same error. can you please help me to provide full configuration file

from snowplow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.