Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Jan 25, 2024
  2. Jan 16, 2024
  3. Jan 15, 2024
  4. Jan 05, 2024
  5. Dec 19, 2023
  6. Dec 13, 2023
  7. Dec 12, 2023
  8. Dec 11, 2023
  9. Dec 07, 2023
  10. Dec 06, 2023
  11. Dec 05, 2023
  12. Dec 04, 2023
  13. Dec 01, 2023
  14. Nov 30, 2023
  15. Nov 29, 2023
  16. Nov 28, 2023
    • lbrdnk's avatar
      Manual backport: Use sessions in mongo aggregation pipelines (#35680) (#36149) · 6a2bd7b5
      lbrdnk authored
      * Use sessions in mongo aggregation pipelines (#35680)
      
      Manual backport of #35680
      
      * Use mongo sessions in aggregation pipelines
      
      Using sessions, cancel signal from streaming response can be handled
      correctly - query is killed also on database side.
      
      * Update tests
      
      * Let the middleware handle the exception
      
      While coding the other test, I've found out that if exception is handled
      in the `reducible-results`, code clogs for 3 minutes,
      which is `.maxTime` for aggregation. I don't know the exact reason yet,
      but for time being I'm leaving the exception handling to middleware.
      
      * Add testing string
      
      * Encode aggregation results as `BasicDBObject`
      
      Use this type instead of BSON's Document because code transforming
      DBObject to clojure structures is already in place.
      
      * Update exceptions handling and tests
      
      Exception handling now more resembles code in other drivers. Tests were updated
      to use mbql query instead of raw native to avoid differences between various
      mongodb versions. `$dateTrunc` was not available in version 4.
      
      * Increase cancelation interval in tests
      
      * Address remarks and update test to handle cold start
      
      By cold start I mean running it before dataset is initialized.
      
      * Remove unnecessary hint
      
      * Indentation
    • lbrdnk's avatar
      Use `mysql:latest` for mysql CI job and update driver code accordingly (#36025) (#36144) · a0a0c055
      lbrdnk authored
      * Adjust mysql container env
      
      * Setting the HOST can cause trouble they said
      
      https://hub.docker.com/_/mysql. Let's try it without then.
      
      * Also MYSQL_USER doesn't play well with empty password
      
      * Cast results of temporal extract to decimal
      
      * Update test
      
      * Update test
      
      * Revert casting temporal-extract results to decimals
      
      * Handle mysql YEAR type as a number instead of a date
      
      * Cleanup
  17. Nov 27, 2023
Loading