mirror of
https://github.com/apache/superset.git
synced 2026-04-18 07:35:09 +00:00
fix(charts): Time grain is None when dataset uses Jinja (#25842)
This commit is contained in:
@@ -16,8 +16,6 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import omit from 'lodash/omit';
|
||||
|
||||
import {
|
||||
AdhocColumn,
|
||||
buildQueryContext,
|
||||
@@ -72,9 +70,7 @@ export default function buildQuery(formData: PivotTableQueryFormData) {
|
||||
}
|
||||
return [
|
||||
{
|
||||
...(hasGenericChartAxes
|
||||
? omit(baseQueryObject, ['extras.time_grain_sqla'])
|
||||
: baseQueryObject),
|
||||
...baseQueryObject,
|
||||
orderby: orderBy,
|
||||
columns,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user