vmware-archive / sql-to-dbsp-compiler

Compiler translating SQL view definitions into DBSP circuits (https://github.com/vmware/database-stream-processor)
Other
28 stars 5 forks source link

Cannot run this on Mac (M1) #61

Closed GiridharaSPK closed 1 year ago

GiridharaSPK commented 2 years ago

tried to run the run-tests.sh in my mac, it is throwing the following error

Screen Shot 2022-11-17 at 1 21 37 PM Screen Shot 2022-11-17 at 1 21 54 PM
mihaibudiu commented 2 years ago

Can you run the DBSP tests by themselves? If not, you cannot expect to run the SQL compiler tests either.

GiridharaSPK commented 2 years ago

DBSP is also not running in my system - raised an issue (#227 ) in that project.

The changes in the PR #235 of that project when changed and tested is not creating any build-time error, but cannot run the project because there are no binary files generated.

GiridharaSPK commented 2 years ago

The above commit is pushed. Tried running the latest commit - the build is successful, but IllegalThreadStateException is thrown followed by PSQLException relating to the authentication) due to which build failure is happening

Screen Shot 2022-11-17 at 4 40 18 PM Screen Shot 2022-11-17 at 4 39 09 PM
mihaibudiu commented 2 years ago

You have to create a user account on postgres and supply to the script the account and password. They are the -u and -p flags in the script. The script is very short, take a look

mihaibudiu commented 2 years ago

I have added a little documentation in the README about the database account that needs to be created and committed a version of the test script with the appropriate command-line flags. Please let me know if you still have trouble.

mihaibudiu commented 1 year ago

Is this issue resolved?

GiridharaSPK commented 1 year ago

Yes