Giter Club home page Giter Club logo

Comments (2)

rfdavid avatar rfdavid commented on September 25, 2024

The new feature recently deployed, CSV_TO_PARQUET, converts CSV files into PARQUET files. The idea is to temporarily create the parquet files while executing the tests and then remove the files after all tests run.
However, ctest executes the binary e2e_test multiple times because it separates in multiple processes. So it's removing and creating the parquet_temp multiple times instead of re-using the generated parquet files.
It's not possible to set up a custom environment with a teardown callback directly in the script, so I'm checking other alternatives to solve this issue.
A temporary workaround is either comment e2e_test.cpp:FileUtils::removeDir(parquetDatasetTempDir); to keep the files, or rename interactive-short-parquet.test to interactive-short-parquet.disabled and also lsqb_queries_parquet.test to lsqb_queries_parquet.disabled

from kuzu.

rfdavid avatar rfdavid commented on September 25, 2024

Update:

ctest command calls the binary e2e_test for each test. We currently have 222 tests, so for each test ctest runs somethling like:

Test command: /Users/rfdavid/Devel/waterloo/kuzu/build/release/test/runner/e2e_test "--gtest_filter=BinderErrorTest.AddPropertyDuplicateName" "--gtest_also_run_disabled_tests"

e2e_test recursively scans test_files directory, parses all .test files, convert to parquet the necessary CSV, registers all the tests, and then it executes only the test passed in the argument. This is executed 222 times, but only now we noticed the performance due to the csv -> parquet conversion.

from kuzu.

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.