Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
image:
needs: build
# only on main and dev branch
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev'
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/ds/dev-no-streaming'

runs-on: ubuntu-latest
steps:
Expand All @@ -131,6 +131,9 @@ jobs:
if [ "$imageTag" = "main" ] ; then
imageTag="latest"
fi
if [ "$imageTag" = "ds/dev-no-streaming" ] ; then
imageTag="dev-no-streaming"
fi
echo "::set-output name=tag::$imageTag"
echo "::set-output name=repo::ghcr.io/${{ github.repository }}"
- name: Push Dev Tag
Expand Down
2 changes: 1 addition & 1 deletion src/server/_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def run_query(p: APrinter, query_tuple: Tuple[str, Dict[str, Any]]):
query, params = query_tuple
# limit rows + 1 for detecting whether we would have more
full_query = text(limit_query(query, p.remaining_rows + 1))
return db.execution_options(stream_results=True).execute(full_query, **params)
return db.execute(full_query, **params)


def _identity_transform(row: Dict[str, Any], _: Row) -> Dict[str, Any]:
Expand Down