Skip to content

[ISSUE] Unable to aggregate on date when using a view #729

@jdziat

Description

@jdziat

Describe the bug
Unable to group and aggregate on a table or view using acra. The same queries work when executing the queries.

To Reproduce
Steps to reproduce the behavior:

  1. Create a table with the following fields: date, amount,name,user_id
  2. Create a view based on the table using user_id to filter the requests coming in
  3. Query the view and group based on a date field
  4. Null is returned
    Expected behavior

We would expect this to behave the same way as a traditional table behaves

Acra configuration files
For AcraServer:
- [ ] configuration file or CLI params that you use to start AcraServer;
- [ ] encryptor_config.yaml if used.
For AcraTranslator:
- [ ] configuration file or CLI params that you use to start AcraTranslator.

Environment (please complete the following information):

  • Acra version: latest
  • Database server and its version: MySQL
  • Installed components:
    • AcraServer
    • AcraTranslator
  • Data-in-transit encryption between Acra and the client-side application:
    • TLS
    • AcraConnector
    • no transport encryption
  • Installation way:
    • via Docker
    • via package manager
    • via Kubernetes

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions