Skip to content

Query-generating command in README.md makes queries run even for explain #3

@mbanck

Description

@mbanck

It seems to me the command

for q in `seq 1 22`
do
    DSS_QUERY=dss/templates ./qgen $q >> dss/queries/$q.sql
    sed 's/^select/explain select/' dss/queries/$q.sql > dss/queries/$q.explain.sql
    cat dss/queries/$q.sql >> dss/queries/$q.explain.sql;
done

adds the full query (without explain) to the end of the $q.explain.sql is that intentional? That way, your script appears to run the explain, then the query and then the query again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions