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

C++ exception with description "csv file not found" #2

Open
TailinLyu opened this issue Feb 5, 2022 · 1 comment
Open

C++ exception with description "csv file not found" #2

TailinLyu opened this issue Feb 5, 2022 · 1 comment

Comments

@TailinLyu
Copy link

Hi I followed the instruction in README to build the project with CMAKE. However, I encountered an issue when trying to run ./test_all that most of tests failed due to csv file not found or ` unknown attribute * in relation". Did I skip some steps in building or there is another dependency needs to be included?

Error logs here:

Running main() from somedir/db-engine-paradigms/data/tpch/sf1//db-engine-paradigms/build/release/googletest-src/googletest/src/gtest_main.cc
[==========] Running 40 tests from 15 test suites.
[----------] Global test environment set-up.
[----------] 6 tests from TPCH
[ RUN      ] TPCH.q1
unknown file: Failure
C++ exception with description "csv file not found: somedir/db-engine-paradigms/data/tpch/sf1//db-engine-paradigms/data/tpch/sf1/" thrown in the test body.
[  FAILED  ] TPCH.q1 (1 ms)
[ RUN      ] TPCH.q3
unknown file: Failure
C++ exception with description "csv file not found: /somedir/db-engine-paradigms/data/tpch/sf1//db-engine-paradigms/data/tpch/sf1/" thrown in the test body.
[  FAILED  ] TPCH.q3 (8 ms)
[ RUN      ] TPCH.q5
unknown file: Failure
C++ exception with description "csv file not found:somedir/db-engine-paradigms/data/tpch/sf1//db-engine-paradigms/data/tpch/sf1/" thrown in the test body.
[  FAILED  ] TPCH.q5 (0 ms)
[ RUN      ] TPCH.q6
unknown file: Failure
C++ exception with description "csv file not found: somedir/db-engine-paradigms/data/tpch/sf1//db-engine-paradigms/data/tpch/sf1/" thrown in the test body.
[  FAILED  ] TPCH.q6 (0 ms)
[ RUN      ] TPCH.q9
unknown file: Failure
C++ exception with description "csv file not found: somedir/db-engine-paradigms/data/tpch/sf1//db-engine-paradigms/data/tpch/sf1/" thrown in the test body.
[  FAILED  ] TPCH.q9 (1 ms)
[ RUN      ] TPCH.q18
unknown file: Failure
C++ exception with description "csv file not found: somedir/db-engine-paradigms/data/tpch/sf1//db-engine-paradigms/data/tpch/sf1/" thrown in the test body.
[  FAILED  ] TPCH.q18 (1 ms)
[----------] 6 tests from TPCH (14 ms total)

[----------] 13 tests from SSB
[ RUN      ] SSB.q11
unknown file: Failure
C++ exception with description "somedir/db-engine-paradigms/data/tpch/sf1//db-engine-paradigms/data/ssb/1/" thrown in the test body.
[  FAILED  ] SSB.q11 (1 ms)
[ RUN      ] SSB.q12
unknown file: Failure
C++ exception with description "Unknown attribute d_yearmonthnum in relation " thrown in the test body.
[  FAILED  ] SSB.q12 (22 ms)
[ RUN      ] SSB.q13
unknown file: Failure
C++ exception with description "Unknown attribute d_year in relation " thrown in the test body.
[  FAILED  ] SSB.q13 (14 ms)
[ RUN      ] SSB.q21
unknown file: Failure
C++ exception with description "Unknown attribute d_year in relation " thrown in the test body.
[  FAILED  ] SSB.q21 (24 ms)
[ RUN      ] SSB.q22
unknown file: Failure
C++ exception with description "Unknown attribute d_year in relation " thrown in the test body.
[  FAILED  ] SSB.q22 (14 ms)
[ RUN      ] SSB.q23
unknown file: Failure
C++ exception with description "Unknown attribute d_year in relation " thrown in the test body.
[  FAILED  ] SSB.q23 (26 ms)
[ RUN      ] SSB.q31
unknown file: Failure
C++ exception with description "Unknown attribute d_year in relation " thrown in the test body.
[  FAILED  ] SSB.q31 (14 ms)
[ RUN      ] SSB.q32
unknown file: Failure
C++ exception with description "Unknown attribute d_year in relation " thrown in the test body.
[  FAILED  ] SSB.q32 (14 ms)
[ RUN      ] SSB.q33
unknown file: Failure
C++ exception with description "Unknown attribute d_year in relation " thrown in the test body.
[  FAILED  ] SSB.q33 (23 ms)
[ RUN      ] SSB.q34
unknown file: Failure
C++ exception with description "Unknown attribute d_yearmonth in relation " thrown in the test body.
[  FAILED  ] SSB.q34 (17 ms)
[ RUN      ] SSB.q41
unknown file: Failure
C++ exception with description "Unknown attribute d_year in relation " thrown in the test body.
[  FAILED  ] SSB.q41 (20 ms)
[ RUN      ] SSB.q42
unknown file: Failure
C++ exception with description "Unknown attribute d_year in relation " thrown in the test body.
[  FAILED  ] SSB.q42 (19 ms)
[ RUN      ] SSB.q43
unknown file: Failure
C++ exception with description "Unknown attribute d_year in relation " thrown in the test body.
[  FAILED  ] SSB.q43 (11 ms)
[----------] 13 tests from SSB (226 ms total)

[----------] 1 test from GTEQ
[ RUN      ] GTEQ.Date
[       OK ] GTEQ.Date (0 ms)
[----------] 1 test from GTEQ (0 ms total)

[----------] 2 tests from Scatter
[ RUN      ] Scatter.Continuous
[       OK ] Scatter.Continuous (0 ms)
[ RUN      ] Scatter.Selected
[       OK ] Scatter.Selected (0 ms)
[----------] 2 tests from Scatter (0 ms total)

[----------] 1 test from Partition
[ RUN      ] Partition.uint64_t
[       OK ] Partition.uint64_t (0 ms)
[----------] 1 test from Partition (0 ms total)

[----------] 1 test from Hash
[ RUN      ] Hash.SIMD32bits
[       OK ] Hash.SIMD32bits (0 ms)
[----------] 1 test from Hash (0 ms total)

[----------] 1 test from SelectTest
[ RUN      ] SelectTest.buildingEQ
unknown file: Failure
C++ exception with description "csv file not found: somedir/db-engine-paradigms/data/tpch/sf1/" thrown in the test fixture's constructor.
[  FAILED  ] SelectTest.buildingEQ (1 ms)
[----------] 1 test from SelectTest (1 ms total)

[----------] 6 tests from Join
[ RUN      ] Join.simpleJoin
Segmentation fault
@Lan-Jing
Copy link

Hey. In case you are still interested in this: I believe you can put your tpc-h dataset to the path shown above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants