Description
We are observing could not get table for virtual fact when cube latest date is queried for :
Caused by: org.apache.lens.server.api.error.LensException: Could not get table
at org.apache.lens.cube.metadata.CubeMetastoreClient.getTable(CubeMetastoreClient.java:1616) ~[lens-cube-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
at org.apache.lens.cube.metadata.CubeMetastoreClient.getTable(CubeMetastoreClient.java:1596) ~[lens-cube-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
at org.apache.lens.cube.metadata.CubeMetastoreClient$PartitionTimelineCache.loadTimeLines(CubeMetastoreClient.java:463) ~[lens-cube-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
at org.apache.lens.cube.metadata.CubeMetastoreClient$PartitionTimelineCache.get(CubeMetastoreClient.java:444) ~[lens-cube-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
at org.apache.lens.cube.metadata.CubeMetastoreClient$PartitionTimelineCache.get(CubeMetastoreClient.java:589) ~[lens-cube-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
at org.apache.lens.cube.metadata.CubeMetastoreClient.getLatestDateOfCube(CubeMetastoreClient.java:164) ~[lens-cube-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
at org.apache.lens.server.metastore.CubeMetastoreServiceImpl.getLatestDateOfCube(CubeMetastoreServiceImpl.java:1169) ~[classes/:na]
at org.apache.lens.server.metastore.MetastoreResource.getLatestDateOfCube(MetastoreResource.java:1519) ~[classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_92]