src-d / sourced-ce

source{d} Community Edition (CE)
https://docs.sourced.tech/community-edition
GNU General Public License v3.0
188 stars 51 forks source link

sql command only connects to gitbase #170

Open se7entyse7en opened 5 years ago

se7entyse7en commented 5 years ago

On engine we only had gitbase as sql storage. Now in sourced-ce we also have two postgres instances. As a user I could be interested in using the cli to query for example the GH metadata. Unless we have a particular rationale to avoid letting do this, I think that it's inconsistent to expose only some parts of all the data through the cli.

smacker commented 5 years ago

most probably we should connect to spark instead when we run it in EE mode.

rpau commented 5 years ago

+1

se7entyse7en commented 5 years ago

@rpau how would that command would be? Something like:

similarly to what we did for engine?