Thanks to visit codestin.com
Credit goes to github.com

Skip to content

COUNT usage leads to error: Invalid generated Coq code #82

@matthiastz

Description

@matthiastz

setup:

schema InvoiceSchema(InvoiceId: int, CustomerId: int, InvoiceDate: date,
			BillingAddress: varchar, BillingCity: varchar,
			BillingState: varchar, BillingCountry: varchar,
			BillingPostalCode: varchar, Total: numeric); 
table Invoice(InvoiceSchema);

query q1
`SELECT i.InvoiceId, i.CustomerId, count(i.CustomerId) FROM Invoice i`;

query q2
`SELECT i.InvoiceId, i.CustomerId, count(i.CustomerId) FROM Invoice i`;

verify q1 q2;

result:
Invalid generated Coq code. Please file an issue.

Rosette find an counterexample.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions