Saw this project a while ago on hackernews and rediscovered it not too long ago.
Do you have any instructions on building the project? Developing locally, etc?
Read through the readme, but can't get the docker image to run after building locally.
Getting this error when trying to build the image locally and running with this command in particular (using the turbine-go-rewrite-1 branch as it seems like that is where things are going):
sudo docker run -v $(pwd)/dev:/tmp/conf -v /tmp/sqlflow:/tmp/sqlflow turbolytics/sql-flow:9c3d31e dev invoke /tmp/conf/config/examples/basic.agg.yml /tmp/conf/fixtures/simple.json
/tmp/sqlflow:/tmp/sqlflow turbolytics/sql-flow:9c3d31e dev invoke /tmp/conf/config/examples/basic.agg.yml /tmp/conf/fixtures/simple.json
Traceback (most recent call last):
File "/app/cmd/sql-flow.py", line 130, in <module>
cli()
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/cmd/sql-flow.py", line 116, in dev_invoke
invoke(conn, config, fixture)
File "/app/sqlflow/lifecycle.py", line 29, in invoke
h = handlers.new_handler_from_conf(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/sqlflow/handlers.py", line 197, in new_handler_from_conf
).init()
^^^^^^
File "/app/sqlflow/handlers.py", line 52, in init
f = open(self._batch_file, 'w+')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/sqlflow/resultscache/consumer_batch.json'
but let me know if I should wait til that is completed!
Saw this project a while ago on hackernews and rediscovered it not too long ago.
Do you have any instructions on building the project? Developing locally, etc?
Read through the readme, but can't get the docker image to run after building locally.
Getting this error when trying to build the image locally and running with this command in particular (using the
turbine-go-rewrite-1branch as it seems like that is where things are going):sudo docker run -v $(pwd)/dev:/tmp/conf -v /tmp/sqlflow:/tmp/sqlflow turbolytics/sql-flow:9c3d31e dev invoke /tmp/conf/config/examples/basic.agg.yml /tmp/conf/fixtures/simple.jsonbut let me know if I should wait til that is completed!