You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "liyang (JIRA)" <ji...@apache.org> on 2016/05/08 12:52:12 UTC
[jira] [Commented] (KYLIN-1662) tableName got truncated during
request mapping for /tables/tableName
[ https://issues.apache.org/jira/browse/KYLIN-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15275586#comment-15275586 ]
liyang commented on KYLIN-1662:
-------------------------------
Then all occurrence of {tableName} should be handled, like the one for getHiveTableExd()
> tableName got truncated during request mapping for /tables/tableName
> --------------------------------------------------------------------
>
> Key: KYLIN-1662
> URL: https://issues.apache.org/jira/browse/KYLIN-1662
> Project: Kylin
> Issue Type: Bug
> Components: REST Service
> Affects Versions: v1.5.1
> Reporter: Dayue Gao
> Assignee: Dayue Gao
> Attachments: KYLIN-1662.patch
>
>
> Request '/tables/default.kylin_sales' for table metadata return empty string. This is because Spring by default treats ".kylin_sales" as a file extension and path variable {{tableName}} receives value "default" rather than "default.kylin_sales". As a result, Kylin searchs metadata for table "default.default".
> An easy fix is to use "/\{tableName:.+\}" in request mapping as suggested in http://stackoverflow.com/questions/16332092/spring-mvc-pathvariable-with-dot-is-getting-truncated
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)