[ 
https://issues.apache.org/jira/browse/HUDI-973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

leesf closed HUDI-973.
----------------------

> 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
>            Assignee: Balaji Varadarajan
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 0.5.3
>
>
> 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