[
https://issues.apache.org/jira/browse/KYLIN-1284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lola Liu closed KYLIN-1284.
---------------------------
Resolution: Not A Problem
False alert. Miss api in request
> Restful API Get hive SQL of the cube
> "cubes/{cubeName}/segs/{segmentName}/sql" returns xml
> ------------------------------------------------------------------------------------------
>
> Key: KYLIN-1284
> URL: https://issues.apache.org/jira/browse/KYLIN-1284
> Project: Kylin
> Issue Type: Bug
> Components: REST Service
> Affects Versions: v2.0
> Reporter: Lola Liu
> Assignee: Zhong,Jason
> Priority: Minor
>
> STEPS:
> Send get request:
> http://kylin-qa2-host:port/kylin/cubes/airline_test_vic/segs/19700101000000_2922789940817071255/sql
> (Cube name and segment name are from /cubes API response)
> RESULT:
> Response:
> <!--
> * Licensed to the Apache Software Foundation (ASF) under one
> * or more contributor license agreements. See the NOTICE file
> * distributed with this work for additional information
> * regarding copyright ownership. The ASF licenses this file
> * to you under the Apache License, Version 2.0 (the
> * "License"); you may not use this file except in compliance
> * with the License. You may obtain a copy of the License at
> *
> * http://www.apache.org/licenses/LICENSE-2.0
> *
> * Unless required by applicable law or agreed to in writing, software
> * distributed under the License is distributed on an "AS IS" BASIS,
> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> * See the License for the specific language governing permissions and
> * limitations under the License.
> -->
> <!doctype html>
> <html id="ng-app">
> <head>
> <meta charset="utf-8">
> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
> <base href="/kylin/">
> <link rel="icon" href="image/favicon.ico" type="image/x-icon">
> <link rel="shortcut icon" href="image/favicon.ico" type="image/x-icon">
> <title>Kylin</title>
> <link type="text/css" rel="stylesheet" href="css/styles.min.0.css">
> <!-- This has to be at the top to make it works in IE -->
> <!--[if lte IE 8]>
> <script>
> document.createElement('loading');
> document.createElement('pagination');
> </script>
> <![endif]-->
> </head>
> <body ng-controller="PageCtrl">
> <div class="navbar navbar-default navbar-fixed-top"
> ng-include="'partials/header.html'"></div>
> <div id="main" class="main-container">
> <div class="main-content">
> <div class="page-content" ng-view></div>
> </div>
> </div>
> <footer class="navbar-fixed-bottom navbar-footer"
> ng-include="'partials/footer.html'"></footer>
> <script type="text/javascript" src="js/scripts.min.0.js"></script>
> <!--template-->
> <!-- static template for cube save/update result notification -->
> <script type="text/ng-template" id="cubeResultError.html">
> <div class="callout">
> <h4>Error Message</h4>
> <p>{{text}}</p>
> </div>
> <div class="callout callout-danger">
> <h4>Cube Schema</h4>
> <pre>{{schema}}</pre>
> </div>
> </script>
> <script type="text/ng-template" id="cubeResultSuccess.html">
> <div class="callout callout-info">
> <p>{{text}}</p>
> </div>
> </script>
> <!--template-->
> <!-- static template for cube save/update result notification -->
> <script type="text/ng-template" id=" modelResultError.html">
> <div class="callout callout-info">
> <h4>Error Message</h4>
> <p>{{text}}</p>
> </div>
> <div class="callout callout-danger">
> <h4>Model Schema</h4>
> <pre>{{schema}}</pre>
> </div>
> </script>
> <script type="text/ng-template" id="modelResultSuccess.html">
> <div class="callout callout-info">
> <p>{{text}}</p>
> </div>
> </script>
> <!-- static template for cube save/update result notification -->
> <script type="text/ng-template" id="streamingResultError.html">
> <div class="callout">
> <h4>Error Message</h4>
> <p>{{text}}</p>
> </div>
> <div class="callout callout-danger">
> <h4>Streaming Schema</h4>
> <pre>{{streamingSchema}}</pre>
> </div>
> <div class="callout callout-danger">
> <h4>Kafka Schema</h4>
> <pre>{{kfkSchema}}</pre>
> </div>
> </script>
> <script type="text/ng-template" id="streamingResultSuccess.html">
> <div class="callout callout-info">
> <p>{{text}}</p>
> </div>
> </body>
> </html>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)