In testing the upgrade to 2018.3 (just installed latest version 2018.3.2), we have hit a problem with data sources that are extracts using with both pre- and post- extract filters.
They are failing with this error:
com.tableausoftware.nativeapi.exceptions.DataSourceException: Cannot evaluate user filter; no current user or group.
Unable to properly calculate the domain for the field 'RecordStatus'. Displayed data may be incorrect. Unable to create extract
Data Sources that do not have a user filter are refreshing ok.
We originally thought this is due to the changes with RLS supporting multiple table extracts:
https://onlinehelp.tableau.com/current/pro/desktop/en-us/publish_userfilters.htm#rls-extract-req
However on further investigation, the "user filter" was a red herring as it was the pre-extract filter causing the problem. This was a filter on a measure called "RecordStatus", but the error occurred if I added a filter on any measure.
The error would only occur when the Refresh Extract was executed on the server and not in Desktop. Both Server and Desktop are on 2018.3.2.
I have been able to workaround the problem by creating a calculated field referencing the measure and filtering on the calculated field instead. I don't understand why this is a problem and why it has only started happening in 2018.3 and was not a problem in 2018.1.
Any thoughts would be appreciated
Many thanks
The problem was not actually down to the user filter at all in the end - it was caused by the cached extract not containing all columns, so removing the local extract and recreating resolved the issue