Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Sep 17, 2024
  2. Sep 16, 2024
    • Case Nelson's avatar
      fix: snowflake compile day trunc to timestamp_ltz (#47874) · 85857aeb
      Case Nelson authored
      Fixes #47426
      
      Date operations return values based on the timestamp offset rather than
      the session/db timezone. Converting to `timestamp_ltz` first ensures
      that we get predictable results.
      
      In the test, it is important that database timezone matches
      report_timezone so that post-processing gives proper results.
      Unverified
      85857aeb
  3. Sep 13, 2024
  4. Sep 12, 2024
  5. Sep 11, 2024
    • Alexander Solovyov's avatar
    • Jeff Bruemmer's avatar
      remove firebolt link (#47852) · d908592d
      Jeff Bruemmer authored
      Unverified
      d908592d
    • John Swanson's avatar
      Fix some minor collections issues (#47472) · 0c4a3f8a
      John Swanson authored
      * Fix some minor collections issues
      
      - explicitly provide access to the trash to all users, in the same way
      we provide access to personal collections. Due to migration order, we
      don't necessarily have a permissions row with the correct `perm_type`,
      `perm_value`, and `collection_id` for the Trash collection. That's ok -
      we don't actually move things to the Trash, so there isn't any
      item where `collection_id=$trash.id` - but this may affect things like
      effective ancestors for children of the trash. Let's be explicit about
      the permissions that users have.
      
      - replace a case where we manually calculated effective location and
      then got the parent_id with just hydrating `:effective_parent`. This is
      more efficient.
      
      - replace the simple hydration method for `effective-location-path` with
      a batched hydration method that fetches `visible-collection-ids` *once*
      and then uses it to figure out the effective location path for each
      collection passed.
      Unverified
      0c4a3f8a
    • Jeff Bruemmer's avatar
      update api docs (#47851) · 655b38dd
      Jeff Bruemmer authored
      Unverified
      655b38dd
    • Cam Saul's avatar
    • Raphael Krut-Landau's avatar
      ci(admin/performance): Test several caching strategies and methods (#45231) · 0833bebb
      Raphael Krut-Landau authored
      This PR tests that the user can assign any of three cache invalidation strategies ("duration", "adaptive", and "don't cache") to dashboards and questions. The tests check that the following things are true:
      * These strategies can be applied directly (via the sidebar)
      * Dashboards and questions can inherit their caching strategy from the database that underlies them
      * Dashboards and questions can inherit their caching strategy from the instance-wide default policy
      * When a question inside a dashboard has been assigned a strategy, this is overridden by the strategy assigned to the dashboard.
      
      What these tests do not examine:
      * the schedule strategy
      * the minimum query duration
      * edge-case strategies, such as very long durations or very large values for the adaptive strategy multiplier
      
      These may be addressed in follow-up work.
      
      Closes #45355
      Unverified
      0833bebb
Loading