dzcxzl created HUDI-973:
---------------------------

             Summary: RemoteHoodieTableFileSystemView supports non-partitioned 
table queries
                 Key: HUDI-973
                 URL: https://issues.apache.org/jira/browse/HUDI-973
             Project: Apache Hudi
          Issue Type: Bug
            Reporter: dzcxzl


When hoodie.embed.timeline.server = true, the written table is a 
non-partitioned table, will get an exception.

 
{code:java}
io.javalin.BadRequestResponse: Query parameter 'partition' with value '' cannot 
be null or empty
        at io.javalin.validation.TypedValidator.getOrThrow(Validator.kt:25)
        at 
org.apache.hudi.timeline.service.FileSystemViewHandler.lambda$registerDataFilesAPI$3(FileSystemViewHandler.java:172)

{code}
 

Because api checks whether the value of partition is null or empty.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to