Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document native requirements #48

Closed
1 of 6 tasks
drphrozen opened this issue May 15, 2024 · 2 comments · Fixed by #51
Closed
1 of 6 tasks

Document native requirements #48

drphrozen opened this issue May 15, 2024 · 2 comments · Fixed by #51
Assignees
Labels
type:bug Bugs or weaknesses. The issue has to contain steps to reproduce.

Comments

@drphrozen
Copy link

Describe the bug

Please add requirements for native applications

Steps to reproduce

Tried setting up unified with on our dataset, but we were not using mobile_context 1-0-3.

Expected results

Since no requirements were given we expected it to just work.

Actual results

Complained about missing fields introduced in mobile-context 1-0-3

Screenshots and log output

Truncated dbt output:

Runtime Error in model snowplow_unified_base_events_this_run (models/base/scratch/snowplow_unified_base_events_this_run.sql)
  [FIELD_NOT_FOUND] No such struct field `resolution` in `android_idfa`, `app_available_memory`, `apple_idfa`, `apple_idfv`, `available_storage`, `battery_level`, `battery_state`, `carrier`, `device_manufacturer`, `device_model`, `low_power_mode`, `network_technology`, `network_type`, `open_idfa`, `os_type`, `os_version`, `physical_memory`, `system_available_memory`, `total_storage`, `is_portrait`. SQLSTATE: 42704

System information

The contents of your packages.yml file:
Using 0.4 of unified

Which database are you using dbt with?

  • postgres
  • redshift
  • bigquery
  • snowflake
  • databricks
  • other (specify: ____________)

The output of dbt --version:
N/A

The operating system you're using:
N/A

The output of python --version:
N/A

Additional context

This could probably be solved by adding the requirement of having mobile context at 1-0-3, which was introduced in:
android/ios: 5.1.0
react native: 2.0.0

as far as i could deduce

Are you interested in contributing towards the fix?

Not currently

@drphrozen drphrozen added the type:bug Bugs or weaknesses. The issue has to contain steps to reproduce. label May 15, 2024
@github-actions github-actions bot added the status:needs_triage Needs maintainer triage. label May 15, 2024
@rlh1994
Copy link
Contributor

rlh1994 commented May 21, 2024

Hi @drphrozen , thanks for pointing this out. We're just discussing internally at the moment how best to resolve this, either just via a bump in the requirements or to also support older versions of this entity. We'll update this issue soon.

@rlh1994 rlh1994 removed the status:needs_triage Needs maintainer triage. label May 21, 2024
@rlh1994 rlh1994 self-assigned this May 21, 2024
@rlh1994
Copy link
Contributor

rlh1994 commented Jun 12, 2024

@drphrozen We've just released a new version (0.4.2) that should fix this issue and no longer error when using an older version of the schema, please let us know if you see any further issues and thanks for reporting this!

@rlh1994 rlh1994 closed this as completed Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Bugs or weaknesses. The issue has to contain steps to reproduce.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants