diffix / explorer

Tool to automatically explore and generate stats on data anonymized using Diffix
MIT License
2 stars 1 forks source link

Querying non-existant table #168

Closed sebastian closed 4 years ago

sebastian commented 4 years ago

Querying the NAV_TENANT data source, there have been queries issued against a non-existent table!

Like:

                select
                    grouping_id(
                        date_trunc('year', dropoff_datetime),
date_trunc('quarter', dropoff_datetime),
date_trunc('month', dropoff_datetime),
date_trunc('day', dropoff_datetime),
date_trunc('hour', dropoff_datetime),
date_trunc('minute', dropoff_datetime),
date_trunc('second', dropoff_datetime)
                    ),
                    date_trunc('year', dropoff_datetime),
date_trunc('quarter', dropoff_datetime),
date_trunc('month', dropoff_datetime),
date_trunc('day', dropoff_datetime),
date_trunc('hour', dropoff_datetime),
date_trunc('minute', dropoff_datetime),
date_trunc('second', dropoff_datetime),
                    count(*),
                    count_noise(*)
                from year
                group by grouping sets (2, 3, 4, 5, 6, 7, 8)

where year is not at all a table.

All errors here

dandanlen commented 4 years ago

I found the year table, it's in the taxi_year dataset...

So it's somehow issuing queries against the wrong dataset.

dandanlen commented 4 years ago

Closing this issue since