Skip to content

Commit

Permalink
Fix table name for crashlytics query to handle both realtime and
Browse files Browse the repository at this point in the history
non-realtime tables
  • Loading branch information
nid90 committed Jan 8, 2025
1 parent ee7d0dc commit baed33e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/libs/installations/crashlytics/api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_data(query)
end

def crashlytics_query(dataset_name, bundle_identifier, platform, version_name, version_code)
table_name = dataset_name.sub("*", "") + bundle_identifier.tr(".", "_") + "_" + platform
table_name = dataset_name.sub("*", "") + bundle_identifier.tr(".", "_") + "_" + platform + "*"
<<-SQL.squish
WITH combined_events AS (
SELECT
Expand Down

0 comments on commit baed33e

Please sign in to comment.