You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/10/20 08:38:21 UTC

[GitHub] [druid] tenghuanhe commented on issue #10395: Getting error when accessing materialized view query in web console and in logs using druid 0.19.0: Could not resolve type id 'view' as a subtype of `org.apache.druid.query.Query`

tenghuanhe commented on issue #10395:
URL: https://github.com/apache/druid/issues/10395#issuecomment-712690802


   @jagtapsantosh  in the `MaterializedViewSelectionDruidModule` class, did you register the view subtype like
   ```
   public List<? extends Module> getJacksonModules()
     {
       return ImmutableList.of(
           new SimpleModule(getClass().getSimpleName())
               .registerSubtypes(
                   new NamedType(MaterializedViewQuery.class, MaterializedViewQuery.TYPE)));
     }
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org