You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by lu...@apache.org on 2015/05/27 13:40:15 UTC

svn commit: r1681991 [2/8] - in /incubator/kylin/site: api/ api/2014/ api/2014/12/ api/2014/12/31/ api/2014/12/31/Build-Cube-with-Restful-API/ api/2015/ api/2015/03/ api/2015/03/18/ api/2015/03/18/Restful-Service-Doc/ howto/ howto/2014/ howto/2014/10/ ...

Added: incubator/kylin/site/api/2015/03/18/Restful-Service-Doc/index.html
URL: http://svn.apache.org/viewvc/incubator/kylin/site/api/2015/03/18/Restful-Service-Doc/index.html?rev=1681991&view=auto
==============================================================================
--- incubator/kylin/site/api/2015/03/18/Restful-Service-Doc/index.html (added)
+++ incubator/kylin/site/api/2015/03/18/Restful-Service-Doc/index.html Wed May 27 11:40:12 2015
@@ -0,0 +1,2505 @@
+<!--
+* 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>
+	<!--
+* 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.
+-->
+
+<head>
+  <meta charset="utf-8">
+  <meta http-equiv="X-UA-Compatible" content="IE=edge">
+  <meta name="viewport" content="width=device-width, initial-scale=1">
+
+  <title>Apache Kylin | Restful Service Doc</title>
+  <meta name="description" content="Kylin Restful API List">
+  <meta name="author"      content="Apache Kylin">
+  <link rel="shortcut icon" href="fav.png" type="image/png">
+
+
+
+<link rel="stylesheet" href="/assets/css/animate.css">
+<!-- Bootstrap -->
+<link rel="stylesheet" href="/assets/css/bootstrap.min.css">
+
+<!-- Fonts -->
+<!-- <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Alice|Open+Sans:400,300,700"> -->
+
+<!-- Icons -->
+<link rel="stylesheet" href="/assets/css/font-awesome.min.css">
+
+  <!-- Custom styles -->
+  <link rel="stylesheet" href="/assets/css/styles.css">
+  <link rel="stylesheet" href="/assets/css/docs.css">
+  <link rel="stylesheet" href="/assets/css/pygments.css">
+
+  <link rel="canonical" href="http://kyli.io/api/2015/03/18/Restful-Service-Doc/">
+  <link rel="alternate" type="application/rss+xml" title="kylin.io" href="http://kyli.io/feed.xml" />
+
+<!--[if lt IE 9]> <script src="assets/js/html5shiv.js"></script> <![endif]-->
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  //oringal tracker for kylin.io
+  ga('create', 'UA-55534813-1', 'auto');
+  //new tracker for kylin.incubator.apache.org
+  ga('create', 'UA-55534813-2', 'auto', {'name':'incubator'});
+
+  ga('send', 'pageview');
+  ga('incubator.send', 'pageview');
+
+
+</script>
+
+</head>
+
+	<body>
+		<!--
+* 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.
+-->
+
+<header id="header" >
+  
+  <div id="head" class="parallax" parallax-speed="3" >
+    <div id="logo" class="text-center"> <img class="img-circle" id="circlelogo" src="/assets/images/kylin_logo.jpg"> <span class="title" >Apache Kylin</span> <span class="tagline">Extreme OLAP Engine for Big Data</span> 
+    </div>
+  </div>
+  
+
+  <!-- Main Menu -->
+  <nav class="navbar navbar-default" role="navigation" id="nav-wrapper">
+  <div class="container-fluid" id="nav">
+    <!--
+    <img class="img-circle" width="40px" height="40px" id="circlelogo" src="/assets/images/kylin_logo.jpg">
+    -->
+    <!-- Brand and toggle get grouped for better mobile display -->
+    <div class="navbar-header">
+      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
+        <span class="sr-only">Toggle navigation</span>
+        <span class="icon-bar"></span>
+        <span class="icon-bar"></span>
+        <span class="icon-bar"></span>
+      </button>
+     
+    </div>
+
+    <!-- Collect the nav links, forms, and other content for toggling -->
+    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
+      <ul class="nav navbar-nav">
+     <li><a href="/"><b>Home</b></a></li>
+          <li><a href="/docs" >Docs</a></li>
+          <li><a href="/community" >Community</a></li>
+          <li><a href="/blog">Blog</li>
+          <li><a href="/download">Download</li>
+          <li><a href="/about" >About</a></li>
+          <li><a href="/cn" >中文版</a></li>  
+          <li><a href="https://twitter.com/apachekylin" target="_blank" class="fa fa-twitter fa-lg" title="Twitter: @ApacheKylin" ></a></li>
+          <li><a href="https://github.com/apache/incubator-kylin" target="_blank" class="fa fa-github-alt fa-lg" title="Github: apache/incubator-kylin" ></a></li>          
+          <li><a href="https://www.facebook.com/kylinio" target="_blank" class="fa fa-facebook fa-lg" title="Facebook: kylin.io" ></a></li>   
+      </ul>      
+    </div><!-- /.navbar-collapse -->
+  </div><!-- /.container-fluid -->
+</nav>
+ </header>
+
+		<div class="page-content">
+			<header style=" padding:2em 0 0 0">
+			<div class="container" >
+				<h4 class="section-title"><span>Kylin Docs</span></h4>
+			</div>
+		</div>
+		<div class="container">
+			<div class="row">
+				<!--
+* 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.
+-->
+
+<div class="col-md-3 col-lg-3 col-xs-4 aside1 visible-md visible-lg">
+	<ul class="nav nav-pills nav-stacked">
+	     <!-- categories -->
+   
+	     <!-- categories -->
+   
+	     <!-- categories -->
+   
+		<li><a href="#installation" data-toggle="collapse" >Installation</a></li>
+		<div class="collapse in" id="installation">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/installation/2015/03/13/On-Hadoop-CLI-installation/" class="list-group-item-lay pjaxlink">On Hadoop CLI installation</a></li>
+			
+				<li><a href="/installation/2015/02/15/Off-Hadoop-CLI-Installation-(Dev-Env-Setup)/" class="list-group-item-lay pjaxlink">Off Hadoop CLI Installation (Dev Env Setup)</a></li>
+			
+				<li><a href="/installation/2015/01/22/Kylin-Manual-Installation-Guide/" class="list-group-item-lay pjaxlink">Kylin Manual Installation Guide</a></li>
+			
+				<li><a href="/installation/2015/01/22/Advance-settings-of-Kylin-environment/" class="list-group-item-lay pjaxlink">Advance settings of Kylin environment</a></li>
+			
+				<li><a href="/installation/2014/12/05/On-Hadoop-Kylin-installation-using-Docker/" class="list-group-item-lay pjaxlink">On Hadoop Kylin installation using Docker</a></li>
+			
+				<ul>
+			</div>
+		</div>
+   
+	     <!-- categories -->
+   
+	     <!-- categories -->
+   
+	     <!-- categories -->
+   
+	
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+		<li><a href="#howto" data-toggle="collapse" >How to</a></li>
+		<div class="collapse in" id="howto">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/howto/2015/05/18/Export-Kylin-HBase-data/" class="list-group-item-lay pjaxlink">Export Kylin HBase data</a></li>
+			
+				<li><a href="/howto/2015/03/18/How-to-use-kylin-remote-jdbc-driver/" class="list-group-item-lay pjaxlink">How to use kylin remote jdbc driver</a></li>
+			
+				<li><a href="/howto/2015/03/05/Kylin-Metadata-Store/" class="list-group-item-lay pjaxlink">Kylin Metadata Store</a></li>
+			
+				<li><a href="/howto/2015/03/03/How-to-consume-Kylin-REST-API-in-javascript/" class="list-group-item-lay pjaxlink">How to consume Kylin REST API in javascript</a></li>
+			
+				<li><a href="/howto/2015/01/04/Run-Kylin-test-case-with-HBase-Mini-Cluster/" class="list-group-item-lay pjaxlink">Run Kylin test case with HBase Mini Cluster</a></li>
+			
+				<li><a href="/howto/2014/12/09/New-meta-data-model-structure/" class="list-group-item-lay pjaxlink">New meta data model structure</a></li>
+			
+				<li><a href="/howto/2014/11/14/How%20to%20install%20kylin%20in%20your%20Hadoop%20cluster/" class="list-group-item-lay pjaxlink">How to install kylin in your Hadoop cluster</a></li>
+			
+				<li><a href="/howto/2014/10/24/How-to-Contribute/" class="list-group-item-lay pjaxlink">How to Contribute</a></li>
+			
+				<li><a href="/howto/2014/10/23/Kylin-web-front-end-summary/" class="list-group-item-lay pjaxlink">Kylin web front end summary</a></li>
+			
+				<ul>
+			</div>
+		</div>
+   
+	 
+   
+		<li><a href="#tutorial" data-toggle="collapse" >Tutorial</a></li>
+		<div class="collapse in" id="tutorial">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/tutorial/2015/04/17/Kylin-and-Tableau-Tutorial/" class="list-group-item-lay pjaxlink">Kylin and Tableau Tutorial</a></li>
+			
+				<li><a href="/tutorial/2015/04/17/Kylin-Web-Tutorial/" class="list-group-item-lay pjaxlink">Kylin Web Tutorial</a></li>
+			
+				<li><a href="/tutorial/2014/11/15/Kylin-Cube-Creation-Tutorial/" class="list-group-item-lay pjaxlink">Kylin Cube Creation Tutorial</a></li>
+			
+				<li><a href="/tutorial/2014/11/11/Kylin-Cube-Permission-Grant-Tutorial/" class="list-group-item-lay pjaxlink">Kylin Cube Permission Grant Tutorial</a></li>
+			
+				<li><a href="/tutorial/2014/11/06/Kylin-Cube-Build-and-Job-Monitoring-Tutorial/" class="list-group-item-lay pjaxlink">Kylin Cube Build and Job Monitoring Tutorial</a></li>
+			
+				<li><a href="/tutorial/2014/11/05/Kylin-ODBC-Driver-Tutorial/" class="list-group-item-lay pjaxlink">Kylin ODBC Driver Tutorial</a></li>
+			
+				<ul>
+			</div>
+		</div>
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	
+	 
+   
+	 
+   
+	 
+   
+	 
+   
+		<li><a href="#api" data-toggle="collapse" >API</a></li>
+		<div class="collapse in" id="api">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/api/2015/03/18/Restful-Service-Doc/" class="list-group-item-lay pjaxlink">Restful Service Doc</a></li>
+			
+				<li><a href="/api/2014/12/31/Build-Cube-with-Restful-API/" class="list-group-item-lay pjaxlink">Build Cube with Restful API</a></li>
+			
+				<ul>
+			</div>
+		</div>
+   
+	 
+   
+	 
+   
+	
+	 
+   
+	 
+   
+	 
+   
+	 
+   
+	 
+   
+	 
+   
+		<li><a href="#faq" data-toggle="collapse" >FAQ</a></li>
+		<div class="collapse in" id="faq">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/faq/2015/05/18/FAQ-on-Kylin-Installation-and-Usage/" class="list-group-item-lay pjaxlink">FAQ on Kylin Installation and Usage</a></li>
+			
+				<ul>
+			</div>
+		</div>
+   
+	
+	</ul>
+</div>
+
+				<div class="col-md-9 col-lg-9 col-xs-14 aside2">
+					<div id="container">
+						<div id="pjax">
+							<!--
+* 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.
+-->
+
+<div class="post" style=" padding:2em 4em 4em 4em">
+
+  <header class="post-header">
+    <h1 class="post-title">Restful Service Doc</h1>
+    <p class="post-meta" >Mar 18, 2015 • SHAOFENG SHI</p>
+  </header>
+
+  <article class="post-content" >
+    <h2 id="kylin-restful-api-list">Kylin Restful API List</h2>
+
+<ul>
+  <li>QUERY
+    <ul>
+      <li>Login</li>
+      <li>Query</li>
+      <li>List queryable tables</li>
+    </ul>
+  </li>
+  <li>CUBE
+    <ul>
+      <li>List cubes</li>
+      <li>Rebuild cube</li>
+      <li>Disable cube</li>
+      <li>Purge cube</li>
+      <li>Enable cube</li>
+    </ul>
+  </li>
+  <li>JOB
+    <ul>
+      <li>Resume job</li>
+      <li>Discard job</li>
+      <li>Get job step log</li>
+    </ul>
+  </li>
+  <li>Metadata
+    <ul>
+      <li>Get Hive Table</li>
+      <li>Get Hive Table (Extend Info)</li>
+      <li>Get Hive Tables </li>
+      <li>Load Hive Table</li>
+    </ul>
+  </li>
+  <li>Wipe cache</li>
+</ul>
+
+<hr />
+
+<h3 id="login">Login</h3>
+<p><code>POST /user/authentication</code></p>
+
+<p>for example: </p>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">sh
+curl -c /path/to/cookiefile.txt -X POST -H &quot;Authorization: Basic XXXXXXXXX&quot; -H &#39;Content-Type: application/json&#39; http://&lt;host&gt;:&lt;port&gt;/kylin/api/user/authentication</code></pre></div>
+
+<p>If login successfully, the JSESSIONID will be saved into the cookie file; In the subsequent http requests, attach the cookie, for example:</p>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">curl -b /path/to/cookiefile.txt -X PUT -H &#39;Content-Type: application/json&#39; -d &#39;{&quot;startTime&quot;:&#39;1423526400000&#39;, &quot;endTime&quot;:&#39;1423526400&#39;, &quot;buildType&quot;:&quot;BUILD&quot;}&#39; http://&lt;host&gt;:&lt;port&gt;/kylin/api/cubes/your_cube/rebuild</code></pre></div>
+
+<h4 id="header">Header</h4>
+<p>Authorization data encoded by basic auth. Header sample:
+Authorization:Basic {data}</p>
+
+<h4 id="response-sample">Response Sample</h4>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">Status: 200OK</code></pre></div>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">{  
+   &quot;userDetails&quot;:{  
+      &quot;password&quot;:null,
+      &quot;username&quot;:&quot;sample&quot;,
+      &quot;authorities&quot;:[  
+         {  
+            &quot;authority&quot;:&quot;ROLE_ANALYST&quot;
+         },
+         {  
+            &quot;authority&quot;:&quot;ROLE_MODELER&quot;
+         }
+      ],
+      &quot;accountNonExpired&quot;:true,
+      &quot;accountNonLocked&quot;:true,
+      &quot;credentialsNonExpired&quot;:true,
+      &quot;enabled&quot;:true
+   }
+}</code></pre></div>
+
+<hr />
+
+<h3 id="query">Query</h3>
+<p><code>POST /query</code></p>
+
+<h4 id="request-body">Request Body</h4>
+<ul>
+  <li>sql - <code>required</code> <code>string</code> The sql query string.</li>
+  <li>offset - <code>optional</code> <code>int</code> Query offset. If offset is set in sql, curIndex will be ignored.</li>
+  <li>limit - <code>optional</code> <code>int</code> Query limit. If limit is set in sql, perPage will be ignored.</li>
+  <li>acceptPartial - <code>optional</code> <code>bool</code> Flag to switch partial query.</li>
+  <li>project - <code>optional</code> <code>string</code> Project to perform query. Default value is ‘DEFAULT’</li>
+</ul>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">{  
+   &quot;sql&quot;:&quot;select * from TEST_KYLIN_FACT&quot;,
+   &quot;offset&quot;:0,
+   &quot;limit&quot;:50000,
+   &quot;acceptPartial&quot;:true,
+   &quot;project&quot;:&quot;DEFAULT&quot;
+}</code></pre></div>
+
+<h4 id="response-sample-1">Response Sample</h4>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">Status: 200OK</code></pre></div>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">{  
+   &quot;columnMetas&quot;:[  
+      {  
+         &quot;isNullable&quot;:1,
+         &quot;displaySize&quot;:0,
+         &quot;label&quot;:&quot;CAL_DT&quot;,
+         &quot;name&quot;:&quot;CAL_DT&quot;,
+         &quot;schemaName&quot;:null,
+         &quot;catelogName&quot;:null,
+         &quot;tableName&quot;:null,
+         &quot;precision&quot;:0,
+         &quot;scale&quot;:0,
+         &quot;columnType&quot;:91,
+         &quot;columnTypeName&quot;:&quot;DATE&quot;,
+         &quot;readOnly&quot;:true,
+         &quot;writable&quot;:false,
+         &quot;caseSensitive&quot;:true,
+         &quot;searchable&quot;:false,
+         &quot;currency&quot;:false,
+         &quot;signed&quot;:true,
+         &quot;autoIncrement&quot;:false,
+         &quot;definitelyWritable&quot;:false
+      },
+      {  
+         &quot;isNullable&quot;:1,
+         &quot;displaySize&quot;:10,
+         &quot;label&quot;:&quot;LEAF_CATEG_ID&quot;,
+         &quot;name&quot;:&quot;LEAF_CATEG_ID&quot;,
+         &quot;schemaName&quot;:null,
+         &quot;catelogName&quot;:null,
+         &quot;tableName&quot;:null,
+         &quot;precision&quot;:10,
+         &quot;scale&quot;:0,
+         &quot;columnType&quot;:4,
+         &quot;columnTypeName&quot;:&quot;INTEGER&quot;,
+         &quot;readOnly&quot;:true,
+         &quot;writable&quot;:false,
+         &quot;caseSensitive&quot;:true,
+         &quot;searchable&quot;:false,
+         &quot;currency&quot;:false,
+         &quot;signed&quot;:true,
+         &quot;autoIncrement&quot;:false,
+         &quot;definitelyWritable&quot;:false
+      },
+      {  
+         &quot;isNullable&quot;:1,
+         &quot;displaySize&quot;:10,
+         &quot;label&quot;:&quot;LSTG_SITE_ID&quot;,
+         &quot;name&quot;:&quot;LSTG_SITE_ID&quot;,
+         &quot;schemaName&quot;:null,
+         &quot;catelogName&quot;:null,
+         &quot;tableName&quot;:null,
+         &quot;precision&quot;:10,
+         &quot;scale&quot;:0,
+         &quot;columnType&quot;:4,
+         &quot;columnTypeName&quot;:&quot;INTEGER&quot;,
+         &quot;readOnly&quot;:true,
+         &quot;writable&quot;:false,
+         &quot;caseSensitive&quot;:true,
+         &quot;searchable&quot;:false,
+         &quot;currency&quot;:false,
+         &quot;signed&quot;:true,
+         &quot;autoIncrement&quot;:false,
+         &quot;definitelyWritable&quot;:false
+      },
+      {  
+         &quot;isNullable&quot;:1,
+         &quot;displaySize&quot;:5,
+         &quot;label&quot;:&quot;SLR_SEGMENT_CD&quot;,
+         &quot;name&quot;:&quot;SLR_SEGMENT_CD&quot;,
+         &quot;schemaName&quot;:null,
+         &quot;catelogName&quot;:null,
+         &quot;tableName&quot;:null,
+         &quot;precision&quot;:5,
+         &quot;scale&quot;:0,
+         &quot;columnType&quot;:5,
+         &quot;columnTypeName&quot;:&quot;SMALLINT&quot;,
+         &quot;readOnly&quot;:true,
+         &quot;writable&quot;:false,
+         &quot;caseSensitive&quot;:true,
+         &quot;searchable&quot;:false,
+         &quot;currency&quot;:false,
+         &quot;signed&quot;:true,
+         &quot;autoIncrement&quot;:false,
+         &quot;definitelyWritable&quot;:false
+      },
+      {  
+         &quot;isNullable&quot;:1,
+         &quot;displaySize&quot;:256,
+         &quot;label&quot;:&quot;LSTG_FORMAT_NAME&quot;,
+         &quot;name&quot;:&quot;LSTG_FORMAT_NAME&quot;,
+         &quot;schemaName&quot;:null,
+         &quot;catelogName&quot;:null,
+         &quot;tableName&quot;:null,
+         &quot;precision&quot;:256,
+         &quot;scale&quot;:0,
+         &quot;columnType&quot;:12,
+         &quot;columnTypeName&quot;:&quot;VARCHAR(256)&quot;,
+         &quot;readOnly&quot;:true,
+         &quot;writable&quot;:false,
+         &quot;caseSensitive&quot;:true,
+         &quot;searchable&quot;:false,
+         &quot;currency&quot;:false,
+         &quot;signed&quot;:true,
+         &quot;autoIncrement&quot;:false,
+         &quot;definitelyWritable&quot;:false
+      },
+      {  
+         &quot;isNullable&quot;:1,
+         &quot;displaySize&quot;:19,
+         &quot;label&quot;:&quot;SELLER_ID&quot;,
+         &quot;name&quot;:&quot;SELLER_ID&quot;,
+         &quot;schemaName&quot;:null,
+         &quot;catelogName&quot;:null,
+         &quot;tableName&quot;:null,
+         &quot;precision&quot;:19,
+         &quot;scale&quot;:0,
+         &quot;columnType&quot;:-5,
+         &quot;columnTypeName&quot;:&quot;BIGINT&quot;,
+         &quot;readOnly&quot;:true,
+         &quot;writable&quot;:false,
+         &quot;caseSensitive&quot;:true,
+         &quot;searchable&quot;:false,
+         &quot;currency&quot;:false,
+         &quot;signed&quot;:true,
+         &quot;autoIncrement&quot;:false,
+         &quot;definitelyWritable&quot;:false
+      },
+      {  
+         &quot;isNullable&quot;:1,
+         &quot;displaySize&quot;:19,
+         &quot;label&quot;:&quot;PRICE&quot;,
+         &quot;name&quot;:&quot;PRICE&quot;,
+         &quot;schemaName&quot;:null,
+         &quot;catelogName&quot;:null,
+         &quot;tableName&quot;:null,
+         &quot;precision&quot;:19,
+         &quot;scale&quot;:4,
+         &quot;columnType&quot;:3,
+         &quot;columnTypeName&quot;:&quot;DECIMAL(19, 4)&quot;,
+         &quot;readOnly&quot;:true,
+         &quot;writable&quot;:false,
+         &quot;caseSensitive&quot;:true,
+         &quot;searchable&quot;:false,
+         &quot;currency&quot;:false,
+         &quot;signed&quot;:true,
+         &quot;autoIncrement&quot;:false,
+         &quot;definitelyWritable&quot;:false
+      },
+      {  
+         &quot;isNullable&quot;:1,
+         &quot;displaySize&quot;:19,
+         &quot;label&quot;:&quot;MIN_PRICE_&quot;,
+         &quot;name&quot;:&quot;MIN_PRICE_&quot;,
+         &quot;schemaName&quot;:null,
+         &quot;catelogName&quot;:null,
+         &quot;tableName&quot;:null,
+         &quot;precision&quot;:19,
+         &quot;scale&quot;:4,
+         &quot;columnType&quot;:3,
+         &quot;columnTypeName&quot;:&quot;DECIMAL(19, 4)&quot;,
+         &quot;readOnly&quot;:true,
+         &quot;writable&quot;:false,
+         &quot;caseSensitive&quot;:true,
+         &quot;searchable&quot;:false,
+         &quot;currency&quot;:false,
+         &quot;signed&quot;:true,
+         &quot;autoIncrement&quot;:false,
+         &quot;definitelyWritable&quot;:false
+      },
+      {  
+         &quot;isNullable&quot;:1,
+         &quot;displaySize&quot;:19,
+         &quot;label&quot;:&quot;MAX_PRICE_&quot;,
+         &quot;name&quot;:&quot;MAX_PRICE_&quot;,
+         &quot;schemaName&quot;:null,
+         &quot;catelogName&quot;:null,
+         &quot;tableName&quot;:null,
+         &quot;precision&quot;:19,
+         &quot;scale&quot;:4,
+         &quot;columnType&quot;:3,
+         &quot;columnTypeName&quot;:&quot;DECIMAL(19, 4)&quot;,
+         &quot;readOnly&quot;:true,
+         &quot;writable&quot;:false,
+         &quot;caseSensitive&quot;:true,
+         &quot;searchable&quot;:false,
+         &quot;currency&quot;:false,
+         &quot;signed&quot;:true,
+         &quot;autoIncrement&quot;:false,
+         &quot;definitelyWritable&quot;:false
+      },
+      {  
+         &quot;isNullable&quot;:1,
+         &quot;displaySize&quot;:19,
+         &quot;label&quot;:&quot;COUNT__&quot;,
+         &quot;name&quot;:&quot;COUNT__&quot;,
+         &quot;schemaName&quot;:null,
+         &quot;catelogName&quot;:null,
+         &quot;tableName&quot;:null,
+         &quot;precision&quot;:19,
+         &quot;scale&quot;:0,
+         &quot;columnType&quot;:-5,
+         &quot;columnTypeName&quot;:&quot;BIGINT&quot;,
+         &quot;readOnly&quot;:true,
+         &quot;writable&quot;:false,
+         &quot;caseSensitive&quot;:true,
+         &quot;searchable&quot;:false,
+         &quot;currency&quot;:false,
+         &quot;signed&quot;:true,
+         &quot;autoIncrement&quot;:false,
+         &quot;definitelyWritable&quot;:false
+      }
+   ],
+   &quot;results&quot;:[  
+      [  
+         &quot;2013-08-07&quot;,
+         &quot;32996&quot;,
+         &quot;15&quot;,
+         &quot;15&quot;,
+         &quot;Auction&quot;,
+         &quot;10000000&quot;,
+         &quot;49.048952730908745&quot;,
+         &quot;49.048952730908745&quot;,
+         &quot;49.048952730908745&quot;,
+         &quot;1&quot;
+      ],
+      [  
+         &quot;2013-08-07&quot;,
+         &quot;43398&quot;,
+         &quot;0&quot;,
+         &quot;14&quot;,
+         &quot;ABIN&quot;,
+         &quot;10000633&quot;,
+         &quot;85.78317064220418&quot;,
+         &quot;85.78317064220418&quot;,
+         &quot;85.78317064220418&quot;,
+         &quot;1&quot;
+      ],
+      [  
+         &quot;2013-08-07&quot;,
+         &quot;170083&quot;,
+         &quot;3&quot;,
+         &quot;12&quot;,
+         &quot;FP-non GTC&quot;,
+         &quot;10000688&quot;,
+         &quot;49.4518822857833&quot;,
+         &quot;49.4518822857833&quot;,
+         &quot;49.4518822857833&quot;,
+         &quot;1&quot;
+      ],
+      [  
+         &quot;2013-08-07&quot;,
+         &quot;73506&quot;,
+         &quot;0&quot;,
+         &quot;14&quot;,
+         &quot;Others&quot;,
+         &quot;10000858&quot;,
+         &quot;35.7556514660872&quot;,
+         &quot;35.7556514660872&quot;,
+         &quot;35.7556514660872&quot;,
+         &quot;1&quot;
+      ],
+      [  
+         &quot;2013-08-07&quot;,
+         &quot;26262&quot;,
+         &quot;0&quot;,
+         &quot;5&quot;,
+         &quot;FP-GTC&quot;,
+         &quot;10000914&quot;,
+         &quot;69.63202173718798&quot;,
+         &quot;69.63202173718798&quot;,
+         &quot;69.63202173718798&quot;,
+         &quot;1&quot;
+      ],
+      [  
+         &quot;2013-08-07&quot;,
+         &quot;1161&quot;,
+         &quot;3&quot;,
+         &quot;12&quot;,
+         &quot;Others&quot;,
+         &quot;10000959&quot;,
+         &quot;76.72392839984632&quot;,
+         &quot;76.72392839984632&quot;,
+         &quot;76.72392839984632&quot;,
+         &quot;1&quot;
+      ]
+   ],
+   &quot;cube&quot;:&quot;test_kylin_cube_with_slr_desc&quot;,
+   &quot;affectedRowCount&quot;:0,
+   &quot;isException&quot;:false,
+   &quot;exceptionMessage&quot;:null,
+   &quot;duration&quot;:3451,
+   &quot;partial&quot;:false
+}</code></pre></div>
+
+<hr />
+
+<h3 id="list-queryable-tables">List queryable tables</h3>
+<p><code>GET /tables_and_columns</code></p>
+
+<h4 id="request-parameters">Request Parameters</h4>
+<ul>
+  <li>project - <code>required</code> <code>string</code> The project to load tables</li>
+</ul>
+
+<h4 id="response-sample-2">Response Sample</h4>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">Status: 200OK</code></pre></div>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">[  
+   {  
+      &quot;columns&quot;:[  
+         {  
+            &quot;table_NAME&quot;:&quot;TEST_CAL_DT&quot;,
+            &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+            &quot;column_NAME&quot;:&quot;CAL_DT&quot;,
+            &quot;data_TYPE&quot;:91,
+            &quot;nullable&quot;:1,
+            &quot;column_SIZE&quot;:-1,
+            &quot;buffer_LENGTH&quot;:-1,
+            &quot;decimal_DIGITS&quot;:0,
+            &quot;num_PREC_RADIX&quot;:10,
+            &quot;column_DEF&quot;:null,
+            &quot;sql_DATA_TYPE&quot;:-1,
+            &quot;sql_DATETIME_SUB&quot;:-1,
+            &quot;char_OCTET_LENGTH&quot;:-1,
+            &quot;ordinal_POSITION&quot;:1,
+            &quot;is_NULLABLE&quot;:&quot;YES&quot;,
+            &quot;scope_CATLOG&quot;:null,
+            &quot;scope_SCHEMA&quot;:null,
+            &quot;scope_TABLE&quot;:null,
+            &quot;source_DATA_TYPE&quot;:-1,
+            &quot;iS_AUTOINCREMENT&quot;:null,
+            &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+            &quot;remarks&quot;:null,
+            &quot;type_NAME&quot;:&quot;DATE&quot;
+         },
+         {  
+            &quot;table_NAME&quot;:&quot;TEST_CAL_DT&quot;,
+            &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+            &quot;column_NAME&quot;:&quot;WEEK_BEG_DT&quot;,
+            &quot;data_TYPE&quot;:91,
+            &quot;nullable&quot;:1,
+            &quot;column_SIZE&quot;:-1,
+            &quot;buffer_LENGTH&quot;:-1,
+            &quot;decimal_DIGITS&quot;:0,
+            &quot;num_PREC_RADIX&quot;:10,
+            &quot;column_DEF&quot;:null,
+            &quot;sql_DATA_TYPE&quot;:-1,
+            &quot;sql_DATETIME_SUB&quot;:-1,
+            &quot;char_OCTET_LENGTH&quot;:-1,
+            &quot;ordinal_POSITION&quot;:2,
+            &quot;is_NULLABLE&quot;:&quot;YES&quot;,
+            &quot;scope_CATLOG&quot;:null,
+            &quot;scope_SCHEMA&quot;:null,
+            &quot;scope_TABLE&quot;:null,
+            &quot;source_DATA_TYPE&quot;:-1,
+            &quot;iS_AUTOINCREMENT&quot;:null,
+            &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+            &quot;remarks&quot;:null,
+            &quot;type_NAME&quot;:&quot;DATE&quot;
+         }
+      ],
+      &quot;table_NAME&quot;:&quot;TEST_CAL_DT&quot;,
+      &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+      &quot;ref_GENERATION&quot;:null,
+      &quot;self_REFERENCING_COL_NAME&quot;:null,
+      &quot;type_SCHEM&quot;:null,
+      &quot;table_TYPE&quot;:&quot;TABLE&quot;,
+      &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+      &quot;remarks&quot;:null,
+      &quot;type_CAT&quot;:null,
+      &quot;type_NAME&quot;:null
+   },
+   {  
+      &quot;columns&quot;:[  
+         {  
+            &quot;table_NAME&quot;:&quot;TEST_CATEGORY_GROUPINGS&quot;,
+            &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+            &quot;column_NAME&quot;:&quot;LEAF_CATEG_ID&quot;,
+            &quot;data_TYPE&quot;:4,
+            &quot;nullable&quot;:1,
+            &quot;column_SIZE&quot;:-1,
+            &quot;buffer_LENGTH&quot;:-1,
+            &quot;decimal_DIGITS&quot;:0,
+            &quot;num_PREC_RADIX&quot;:10,
+            &quot;column_DEF&quot;:null,
+            &quot;sql_DATA_TYPE&quot;:-1,
+            &quot;sql_DATETIME_SUB&quot;:-1,
+            &quot;char_OCTET_LENGTH&quot;:-1,
+            &quot;ordinal_POSITION&quot;:1,
+            &quot;is_NULLABLE&quot;:&quot;YES&quot;,
+            &quot;scope_CATLOG&quot;:null,
+            &quot;scope_SCHEMA&quot;:null,
+            &quot;scope_TABLE&quot;:null,
+            &quot;source_DATA_TYPE&quot;:-1,
+            &quot;iS_AUTOINCREMENT&quot;:null,
+            &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+            &quot;remarks&quot;:null,
+            &quot;type_NAME&quot;:&quot;INTEGER&quot;
+         },
+         {  
+            &quot;table_NAME&quot;:&quot;TEST_CATEGORY_GROUPINGS&quot;,
+            &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+            &quot;column_NAME&quot;:&quot;SITE_ID&quot;,
+            &quot;data_TYPE&quot;:4,
+            &quot;nullable&quot;:1,
+            &quot;column_SIZE&quot;:-1,
+            &quot;buffer_LENGTH&quot;:-1,
+            &quot;decimal_DIGITS&quot;:0,
+            &quot;num_PREC_RADIX&quot;:10,
+            &quot;column_DEF&quot;:null,
+            &quot;sql_DATA_TYPE&quot;:-1,
+            &quot;sql_DATETIME_SUB&quot;:-1,
+            &quot;char_OCTET_LENGTH&quot;:-1,
+            &quot;ordinal_POSITION&quot;:2,
+            &quot;is_NULLABLE&quot;:&quot;YES&quot;,
+            &quot;scope_CATLOG&quot;:null,
+            &quot;scope_SCHEMA&quot;:null,
+            &quot;scope_TABLE&quot;:null,
+            &quot;source_DATA_TYPE&quot;:-1,
+            &quot;iS_AUTOINCREMENT&quot;:null,
+            &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+            &quot;remarks&quot;:null,
+            &quot;type_NAME&quot;:&quot;INTEGER&quot;
+         },
+         {  
+            &quot;table_NAME&quot;:&quot;TEST_CATEGORY_GROUPINGS&quot;,
+            &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+            &quot;column_NAME&quot;:&quot;META_CATEG_NAME&quot;,
+            &quot;data_TYPE&quot;:12,
+            &quot;nullable&quot;:1,
+            &quot;column_SIZE&quot;:256,
+            &quot;buffer_LENGTH&quot;:-1,
+            &quot;decimal_DIGITS&quot;:0,
+            &quot;num_PREC_RADIX&quot;:10,
+            &quot;column_DEF&quot;:null,
+            &quot;sql_DATA_TYPE&quot;:-1,
+            &quot;sql_DATETIME_SUB&quot;:-1,
+            &quot;char_OCTET_LENGTH&quot;:256,
+            &quot;ordinal_POSITION&quot;:3,
+            &quot;is_NULLABLE&quot;:&quot;YES&quot;,
+            &quot;scope_CATLOG&quot;:null,
+            &quot;scope_SCHEMA&quot;:null,
+            &quot;scope_TABLE&quot;:null,
+            &quot;source_DATA_TYPE&quot;:-1,
+            &quot;iS_AUTOINCREMENT&quot;:null,
+            &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+            &quot;remarks&quot;:null,
+            &quot;type_NAME&quot;:&quot;VARCHAR(256) CHARACTER SET <span class="c">\&quot;UTF-16LE\&quot; COLLATE \&quot;UTF-16LE$en_US$primary\&quot;&quot;</span>
+         },
+         {  
+            &quot;table_NAME&quot;:&quot;TEST_CATEGORY_GROUPINGS&quot;,
+            &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+            &quot;column_NAME&quot;:&quot;CATEG_LVL2_NAME&quot;,
+            &quot;data_TYPE&quot;:12,
+            &quot;nullable&quot;:1,
+            &quot;column_SIZE&quot;:256,
+            &quot;buffer_LENGTH&quot;:-1,
+            &quot;decimal_DIGITS&quot;:0,
+            &quot;num_PREC_RADIX&quot;:10,
+            &quot;column_DEF&quot;:null,
+            &quot;sql_DATA_TYPE&quot;:-1,
+            &quot;sql_DATETIME_SUB&quot;:-1,
+            &quot;char_OCTET_LENGTH&quot;:256,
+            &quot;ordinal_POSITION&quot;:4,
+            &quot;is_NULLABLE&quot;:&quot;YES&quot;,
+            &quot;scope_CATLOG&quot;:null,
+            &quot;scope_SCHEMA&quot;:null,
+            &quot;scope_TABLE&quot;:null,
+            &quot;source_DATA_TYPE&quot;:-1,
+            &quot;iS_AUTOINCREMENT&quot;:null,
+            &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+            &quot;remarks&quot;:null,
+            &quot;type_NAME&quot;:&quot;VARCHAR(256) CHARACTER SET <span class="c">\&quot;UTF-16LE\&quot; COLLATE \&quot;UTF-16LE$en_US$primary\&quot;&quot;</span>
+         },
+         {  
+            &quot;table_NAME&quot;:&quot;TEST_CATEGORY_GROUPINGS&quot;,
+            &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+            &quot;column_NAME&quot;:&quot;CATEG_LVL3_NAME&quot;,
+            &quot;data_TYPE&quot;:12,
+            &quot;nullable&quot;:1,
+            &quot;column_SIZE&quot;:256,
+            &quot;buffer_LENGTH&quot;:-1,
+            &quot;decimal_DIGITS&quot;:0,
+            &quot;num_PREC_RADIX&quot;:10,
+            &quot;column_DEF&quot;:null,
+            &quot;sql_DATA_TYPE&quot;:-1,
+            &quot;sql_DATETIME_SUB&quot;:-1,
+            &quot;char_OCTET_LENGTH&quot;:256,
+            &quot;ordinal_POSITION&quot;:5,
+            &quot;is_NULLABLE&quot;:&quot;YES&quot;,
+            &quot;scope_CATLOG&quot;:null,
+            &quot;scope_SCHEMA&quot;:null,
+            &quot;scope_TABLE&quot;:null,
+            &quot;source_DATA_TYPE&quot;:-1,
+            &quot;iS_AUTOINCREMENT&quot;:null,
+            &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+            &quot;remarks&quot;:null,
+            &quot;type_NAME&quot;:&quot;VARCHAR(256) CHARACTER SET <span class="c">\&quot;UTF-16LE\&quot; COLLATE \&quot;UTF-16LE$en_US$primary\&quot;&quot;</span>
+         },
+         {  
+            &quot;table_NAME&quot;:&quot;TEST_CATEGORY_GROUPINGS&quot;,
+            &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+            &quot;column_NAME&quot;:&quot;USER_DEFINED_FIELD1&quot;,
+            &quot;data_TYPE&quot;:12,
+            &quot;nullable&quot;:1,
+            &quot;column_SIZE&quot;:256,
+            &quot;buffer_LENGTH&quot;:-1,
+            &quot;decimal_DIGITS&quot;:0,
+            &quot;num_PREC_RADIX&quot;:10,
+            &quot;column_DEF&quot;:null,
+            &quot;sql_DATA_TYPE&quot;:-1,
+            &quot;sql_DATETIME_SUB&quot;:-1,
+            &quot;char_OCTET_LENGTH&quot;:256,
+            &quot;ordinal_POSITION&quot;:6,
+            &quot;is_NULLABLE&quot;:&quot;YES&quot;,
+            &quot;scope_CATLOG&quot;:null,
+            &quot;scope_SCHEMA&quot;:null,
+            &quot;scope_TABLE&quot;:null,
+            &quot;source_DATA_TYPE&quot;:-1,
+            &quot;iS_AUTOINCREMENT&quot;:null,
+            &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+            &quot;remarks&quot;:null,
+            &quot;type_NAME&quot;:&quot;VARCHAR(256) CHARACTER SET <span class="c">\&quot;UTF-16LE\&quot; COLLATE \&quot;UTF-16LE$en_US$primary\&quot;&quot;</span>
+         },
+         {  
+            &quot;table_NAME&quot;:&quot;TEST_CATEGORY_GROUPINGS&quot;,
+            &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+            &quot;column_NAME&quot;:&quot;USER_DEFINED_FIELD3&quot;,
+            &quot;data_TYPE&quot;:12,
+            &quot;nullable&quot;:1,
+            &quot;column_SIZE&quot;:256,
+            &quot;buffer_LENGTH&quot;:-1,
+            &quot;decimal_DIGITS&quot;:0,
+            &quot;num_PREC_RADIX&quot;:10,
+            &quot;column_DEF&quot;:null,
+            &quot;sql_DATA_TYPE&quot;:-1,
+            &quot;sql_DATETIME_SUB&quot;:-1,
+            &quot;char_OCTET_LENGTH&quot;:256,
+            &quot;ordinal_POSITION&quot;:7,
+            &quot;is_NULLABLE&quot;:&quot;YES&quot;,
+            &quot;scope_CATLOG&quot;:null,
+            &quot;scope_SCHEMA&quot;:null,
+            &quot;scope_TABLE&quot;:null,
+            &quot;source_DATA_TYPE&quot;:-1,
+            &quot;iS_AUTOINCREMENT&quot;:null,
+            &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+            &quot;remarks&quot;:null,
+            &quot;type_NAME&quot;:&quot;VARCHAR(256) CHARACTER SET <span class="c">\&quot;UTF-16LE\&quot; COLLATE \&quot;UTF-16LE$en_US$primary\&quot;&quot;</span>
+         },
+         {  
+            &quot;table_NAME&quot;:&quot;TEST_CATEGORY_GROUPINGS&quot;,
+            &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+            &quot;column_NAME&quot;:&quot;UPD_DATE&quot;,
+            &quot;data_TYPE&quot;:12,
+            &quot;nullable&quot;:1,
+            &quot;column_SIZE&quot;:256,
+            &quot;buffer_LENGTH&quot;:-1,
+            &quot;decimal_DIGITS&quot;:0,
+            &quot;num_PREC_RADIX&quot;:10,
+            &quot;column_DEF&quot;:null,
+            &quot;sql_DATA_TYPE&quot;:-1,
+            &quot;sql_DATETIME_SUB&quot;:-1,
+            &quot;char_OCTET_LENGTH&quot;:256,
+            &quot;ordinal_POSITION&quot;:8,
+            &quot;is_NULLABLE&quot;:&quot;YES&quot;,
+            &quot;scope_CATLOG&quot;:null,
+            &quot;scope_SCHEMA&quot;:null,
+            &quot;scope_TABLE&quot;:null,
+            &quot;source_DATA_TYPE&quot;:-1,
+            &quot;iS_AUTOINCREMENT&quot;:null,
+            &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+            &quot;remarks&quot;:null,
+            &quot;type_NAME&quot;:&quot;VARCHAR(256) CHARACTER SET <span class="c">\&quot;UTF-16LE\&quot; COLLATE \&quot;UTF-16LE$en_US$primary\&quot;&quot;</span>
+         },
+         {  
+            &quot;table_NAME&quot;:&quot;TEST_CATEGORY_GROUPINGS&quot;,
+            &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+            &quot;column_NAME&quot;:&quot;UPD_USER&quot;,
+            &quot;data_TYPE&quot;:12,
+            &quot;nullable&quot;:1,
+            &quot;column_SIZE&quot;:256,
+            &quot;buffer_LENGTH&quot;:-1,
+            &quot;decimal_DIGITS&quot;:0,
+            &quot;num_PREC_RADIX&quot;:10,
+            &quot;column_DEF&quot;:null,
+            &quot;sql_DATA_TYPE&quot;:-1,
+            &quot;sql_DATETIME_SUB&quot;:-1,
+            &quot;char_OCTET_LENGTH&quot;:256,
+            &quot;ordinal_POSITION&quot;:9,
+            &quot;is_NULLABLE&quot;:&quot;YES&quot;,
+            &quot;scope_CATLOG&quot;:null,
+            &quot;scope_SCHEMA&quot;:null,
+            &quot;scope_TABLE&quot;:null,
+            &quot;source_DATA_TYPE&quot;:-1,
+            &quot;iS_AUTOINCREMENT&quot;:null,
+            &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+            &quot;remarks&quot;:null,
+            &quot;type_NAME&quot;:&quot;VARCHAR(256) CHARACTER SET <span class="c">\&quot;UTF-16LE\&quot; COLLATE \&quot;UTF-16LE$en_US$primary\&quot;&quot;</span>
+         }
+      ],
+      &quot;table_NAME&quot;:&quot;TEST_CATEGORY_GROUPINGS&quot;,
+      &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+      &quot;ref_GENERATION&quot;:null,
+      &quot;self_REFERENCING_COL_NAME&quot;:null,
+      &quot;type_SCHEM&quot;:null,
+      &quot;table_TYPE&quot;:&quot;TABLE&quot;,
+      &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+      &quot;remarks&quot;:null,
+      &quot;type_CAT&quot;:null,
+      &quot;type_NAME&quot;:null
+   },
+   {  
+      &quot;columns&quot;:[  
+         {  
+            &quot;table_NAME&quot;:&quot;TEST_KYLIN_FACT&quot;,
+            &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+            &quot;column_NAME&quot;:&quot;CAL_DT&quot;,
+            &quot;data_TYPE&quot;:91,
+            &quot;nullable&quot;:1,
+            &quot;column_SIZE&quot;:-1,
+            &quot;buffer_LENGTH&quot;:-1,
+            &quot;decimal_DIGITS&quot;:0,
+            &quot;num_PREC_RADIX&quot;:10,
+            &quot;column_DEF&quot;:null,
+            &quot;sql_DATA_TYPE&quot;:-1,
+            &quot;sql_DATETIME_SUB&quot;:-1,
+            &quot;char_OCTET_LENGTH&quot;:-1,
+            &quot;ordinal_POSITION&quot;:1,
+            &quot;is_NULLABLE&quot;:&quot;YES&quot;,
+            &quot;scope_CATLOG&quot;:null,
+            &quot;scope_SCHEMA&quot;:null,
+            &quot;scope_TABLE&quot;:null,
+            &quot;source_DATA_TYPE&quot;:-1,
+            &quot;iS_AUTOINCREMENT&quot;:null,
+            &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+            &quot;remarks&quot;:null,
+            &quot;type_NAME&quot;:&quot;DATE&quot;
+         },
+         {  
+            &quot;table_NAME&quot;:&quot;TEST_KYLIN_FACT&quot;,
+            &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+            &quot;column_NAME&quot;:&quot;LEAF_CATEG_ID&quot;,
+            &quot;data_TYPE&quot;:4,
+            &quot;nullable&quot;:1,
+            &quot;column_SIZE&quot;:-1,
+            &quot;buffer_LENGTH&quot;:-1,
+            &quot;decimal_DIGITS&quot;:0,
+            &quot;num_PREC_RADIX&quot;:10,
+            &quot;column_DEF&quot;:null,
+            &quot;sql_DATA_TYPE&quot;:-1,
+            &quot;sql_DATETIME_SUB&quot;:-1,
+            &quot;char_OCTET_LENGTH&quot;:-1,
+            &quot;ordinal_POSITION&quot;:2,
+            &quot;is_NULLABLE&quot;:&quot;YES&quot;,
+            &quot;scope_CATLOG&quot;:null,
+            &quot;scope_SCHEMA&quot;:null,
+            &quot;scope_TABLE&quot;:null,
+            &quot;source_DATA_TYPE&quot;:-1,
+            &quot;iS_AUTOINCREMENT&quot;:null,
+            &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+            &quot;remarks&quot;:null,
+            &quot;type_NAME&quot;:&quot;INTEGER&quot;
+         },
+         {  
+            &quot;table_NAME&quot;:&quot;TEST_KYLIN_FACT&quot;,
+            &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+            &quot;column_NAME&quot;:&quot;LSTG_SITE_ID&quot;,
+            &quot;data_TYPE&quot;:4,
+            &quot;nullable&quot;:1,
+            &quot;column_SIZE&quot;:-1,
+            &quot;buffer_LENGTH&quot;:-1,
+            &quot;decimal_DIGITS&quot;:0,
+            &quot;num_PREC_RADIX&quot;:10,
+            &quot;column_DEF&quot;:null,
+            &quot;sql_DATA_TYPE&quot;:-1,
+            &quot;sql_DATETIME_SUB&quot;:-1,
+            &quot;char_OCTET_LENGTH&quot;:-1,
+            &quot;ordinal_POSITION&quot;:3,
+            &quot;is_NULLABLE&quot;:&quot;YES&quot;,
+            &quot;scope_CATLOG&quot;:null,
+            &quot;scope_SCHEMA&quot;:null,
+            &quot;scope_TABLE&quot;:null,
+            &quot;source_DATA_TYPE&quot;:-1,
+            &quot;iS_AUTOINCREMENT&quot;:null,
+            &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+            &quot;remarks&quot;:null,
+            &quot;type_NAME&quot;:&quot;INTEGER&quot;
+         },
+         {  
+            &quot;table_NAME&quot;:&quot;TEST_KYLIN_FACT&quot;,
+            &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+            &quot;column_NAME&quot;:&quot;SLR_SEGMENT_CD&quot;,
+            &quot;data_TYPE&quot;:5,
+            &quot;nullable&quot;:1,
+            &quot;column_SIZE&quot;:-1,
+            &quot;buffer_LENGTH&quot;:-1,
+            &quot;decimal_DIGITS&quot;:0,
+            &quot;num_PREC_RADIX&quot;:10,
+            &quot;column_DEF&quot;:null,
+            &quot;sql_DATA_TYPE&quot;:-1,
+            &quot;sql_DATETIME_SUB&quot;:-1,
+            &quot;char_OCTET_LENGTH&quot;:-1,
+            &quot;ordinal_POSITION&quot;:4,
+            &quot;is_NULLABLE&quot;:&quot;YES&quot;,
+            &quot;scope_CATLOG&quot;:null,
+            &quot;scope_SCHEMA&quot;:null,
+            &quot;scope_TABLE&quot;:null,
+            &quot;source_DATA_TYPE&quot;:-1,
+            &quot;iS_AUTOINCREMENT&quot;:null,
+            &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+            &quot;remarks&quot;:null,
+            &quot;type_NAME&quot;:&quot;SMALLINT&quot;
+         },
+         {  
+            &quot;table_NAME&quot;:&quot;TEST_KYLIN_FACT&quot;,
+            &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+            &quot;column_NAME&quot;:&quot;LSTG_FORMAT_NAME&quot;,
+            &quot;data_TYPE&quot;:12,
+            &quot;nullable&quot;:1,
+            &quot;column_SIZE&quot;:256,
+            &quot;buffer_LENGTH&quot;:-1,
+            &quot;decimal_DIGITS&quot;:0,
+            &quot;num_PREC_RADIX&quot;:10,
+            &quot;column_DEF&quot;:null,
+            &quot;sql_DATA_TYPE&quot;:-1,
+            &quot;sql_DATETIME_SUB&quot;:-1,
+            &quot;char_OCTET_LENGTH&quot;:256,
+            &quot;ordinal_POSITION&quot;:5,
+            &quot;is_NULLABLE&quot;:&quot;YES&quot;,
+            &quot;scope_CATLOG&quot;:null,
+            &quot;scope_SCHEMA&quot;:null,
+            &quot;scope_TABLE&quot;:null,
+            &quot;source_DATA_TYPE&quot;:-1,
+            &quot;iS_AUTOINCREMENT&quot;:null,
+            &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+            &quot;remarks&quot;:null,
+            &quot;type_NAME&quot;:&quot;VARCHAR(256) CHARACTER SET <span class="c">\&quot;UTF-16LE\&quot; COLLATE \&quot;UTF-16LE$en_US$primary\&quot;&quot;</span>
+         },
+         {  
+            &quot;table_NAME&quot;:&quot;TEST_KYLIN_FACT&quot;,
+            &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+            &quot;column_NAME&quot;:&quot;SELLER_ID&quot;,
+            &quot;data_TYPE&quot;:-5,
+            &quot;nullable&quot;:1,
+            &quot;column_SIZE&quot;:-1,
+            &quot;buffer_LENGTH&quot;:-1,
+            &quot;decimal_DIGITS&quot;:0,
+            &quot;num_PREC_RADIX&quot;:10,
+            &quot;column_DEF&quot;:null,
+            &quot;sql_DATA_TYPE&quot;:-1,
+            &quot;sql_DATETIME_SUB&quot;:-1,
+            &quot;char_OCTET_LENGTH&quot;:-1,
+            &quot;ordinal_POSITION&quot;:6,
+            &quot;is_NULLABLE&quot;:&quot;YES&quot;,
+            &quot;scope_CATLOG&quot;:null,
+            &quot;scope_SCHEMA&quot;:null,
+            &quot;scope_TABLE&quot;:null,
+            &quot;source_DATA_TYPE&quot;:-1,
+            &quot;iS_AUTOINCREMENT&quot;:null,
+            &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+            &quot;remarks&quot;:null,
+            &quot;type_NAME&quot;:&quot;BIGINT&quot;
+         },
+         {  
+            &quot;table_NAME&quot;:&quot;TEST_KYLIN_FACT&quot;,
+            &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+            &quot;column_NAME&quot;:&quot;PRICE&quot;,
+            &quot;data_TYPE&quot;:3,
+            &quot;nullable&quot;:1,
+            &quot;column_SIZE&quot;:19,
+            &quot;buffer_LENGTH&quot;:-1,
+            &quot;decimal_DIGITS&quot;:4,
+            &quot;num_PREC_RADIX&quot;:10,
+            &quot;column_DEF&quot;:null,
+            &quot;sql_DATA_TYPE&quot;:-1,
+            &quot;sql_DATETIME_SUB&quot;:-1,
+            &quot;char_OCTET_LENGTH&quot;:19,
+            &quot;ordinal_POSITION&quot;:7,
+            &quot;is_NULLABLE&quot;:&quot;YES&quot;,
+            &quot;scope_CATLOG&quot;:null,
+            &quot;scope_SCHEMA&quot;:null,
+            &quot;scope_TABLE&quot;:null,
+            &quot;source_DATA_TYPE&quot;:-1,
+            &quot;iS_AUTOINCREMENT&quot;:null,
+            &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+            &quot;remarks&quot;:null,
+            &quot;type_NAME&quot;:&quot;DECIMAL(19, 4)&quot;
+         }
+      ],
+      &quot;table_NAME&quot;:&quot;TEST_KYLIN_FACT&quot;,
+      &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+      &quot;ref_GENERATION&quot;:null,
+      &quot;self_REFERENCING_COL_NAME&quot;:null,
+      &quot;type_SCHEM&quot;:null,
+      &quot;table_TYPE&quot;:&quot;TABLE&quot;,
+      &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+      &quot;remarks&quot;:null,
+      &quot;type_CAT&quot;:null,
+      &quot;type_NAME&quot;:null
+   },
+   {  
+      &quot;columns&quot;:[  
+         {  
+            &quot;table_NAME&quot;:&quot;TEST_SELLER_TYPE_DIM&quot;,
+            &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+            &quot;column_NAME&quot;:&quot;SELLER_TYPE_CD&quot;,
+            &quot;data_TYPE&quot;:5,
+            &quot;nullable&quot;:1,
+            &quot;column_SIZE&quot;:-1,
+            &quot;buffer_LENGTH&quot;:-1,
+            &quot;decimal_DIGITS&quot;:0,
+            &quot;num_PREC_RADIX&quot;:10,
+            &quot;column_DEF&quot;:null,
+            &quot;sql_DATA_TYPE&quot;:-1,
+            &quot;sql_DATETIME_SUB&quot;:-1,
+            &quot;char_OCTET_LENGTH&quot;:-1,
+            &quot;ordinal_POSITION&quot;:1,
+            &quot;is_NULLABLE&quot;:&quot;YES&quot;,
+            &quot;scope_CATLOG&quot;:null,
+            &quot;scope_SCHEMA&quot;:null,
+            &quot;scope_TABLE&quot;:null,
+            &quot;source_DATA_TYPE&quot;:-1,
+            &quot;iS_AUTOINCREMENT&quot;:null,
+            &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+            &quot;remarks&quot;:null,
+            &quot;type_NAME&quot;:&quot;SMALLINT&quot;
+         },
+         {  
+            &quot;table_NAME&quot;:&quot;TEST_SELLER_TYPE_DIM&quot;,
+            &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+            &quot;column_NAME&quot;:&quot;SELLER_TYPE_DESC&quot;,
+            &quot;data_TYPE&quot;:12,
+            &quot;nullable&quot;:1,
+            &quot;column_SIZE&quot;:256,
+            &quot;buffer_LENGTH&quot;:-1,
+            &quot;decimal_DIGITS&quot;:0,
+            &quot;num_PREC_RADIX&quot;:10,
+            &quot;column_DEF&quot;:null,
+            &quot;sql_DATA_TYPE&quot;:-1,
+            &quot;sql_DATETIME_SUB&quot;:-1,
+            &quot;char_OCTET_LENGTH&quot;:256,
+            &quot;ordinal_POSITION&quot;:2,
+            &quot;is_NULLABLE&quot;:&quot;YES&quot;,
+            &quot;scope_CATLOG&quot;:null,
+            &quot;scope_SCHEMA&quot;:null,
+            &quot;scope_TABLE&quot;:null,
+            &quot;source_DATA_TYPE&quot;:-1,
+            &quot;iS_AUTOINCREMENT&quot;:null,
+            &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+            &quot;remarks&quot;:null,
+            &quot;type_NAME&quot;:&quot;VARCHAR(256) CHARACTER SET <span class="c">\&quot;UTF-16LE\&quot; COLLATE \&quot;UTF-16LE$en_US$primary\&quot;&quot;</span>
+         }
+      ],
+      &quot;table_NAME&quot;:&quot;TEST_SELLER_TYPE_DIM&quot;,
+      &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+      &quot;ref_GENERATION&quot;:null,
+      &quot;self_REFERENCING_COL_NAME&quot;:null,
+      &quot;type_SCHEM&quot;:null,
+      &quot;table_TYPE&quot;:&quot;TABLE&quot;,
+      &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+      &quot;remarks&quot;:null,
+      &quot;type_CAT&quot;:null,
+      &quot;type_NAME&quot;:null
+   },
+   {  
+      &quot;columns&quot;:[  
+         {  
+            &quot;table_NAME&quot;:&quot;TEST_SITES&quot;,
+            &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+            &quot;column_NAME&quot;:&quot;SITE_ID&quot;,
+            &quot;data_TYPE&quot;:4,
+            &quot;nullable&quot;:1,
+            &quot;column_SIZE&quot;:-1,
+            &quot;buffer_LENGTH&quot;:-1,
+            &quot;decimal_DIGITS&quot;:0,
+            &quot;num_PREC_RADIX&quot;:10,
+            &quot;column_DEF&quot;:null,
+            &quot;sql_DATA_TYPE&quot;:-1,
+            &quot;sql_DATETIME_SUB&quot;:-1,
+            &quot;char_OCTET_LENGTH&quot;:-1,
+            &quot;ordinal_POSITION&quot;:1,
+            &quot;is_NULLABLE&quot;:&quot;YES&quot;,
+            &quot;scope_CATLOG&quot;:null,
+            &quot;scope_SCHEMA&quot;:null,
+            &quot;scope_TABLE&quot;:null,
+            &quot;source_DATA_TYPE&quot;:-1,
+            &quot;iS_AUTOINCREMENT&quot;:null,
+            &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+            &quot;remarks&quot;:null,
+            &quot;type_NAME&quot;:&quot;INTEGER&quot;
+         },
+         {  
+            &quot;table_NAME&quot;:&quot;TEST_SITES&quot;,
+            &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+            &quot;column_NAME&quot;:&quot;SITE_NAME&quot;,
+            &quot;data_TYPE&quot;:12,
+            &quot;nullable&quot;:1,
+            &quot;column_SIZE&quot;:256,
+            &quot;buffer_LENGTH&quot;:-1,
+            &quot;decimal_DIGITS&quot;:0,
+            &quot;num_PREC_RADIX&quot;:10,
+            &quot;column_DEF&quot;:null,
+            &quot;sql_DATA_TYPE&quot;:-1,
+            &quot;sql_DATETIME_SUB&quot;:-1,
+            &quot;char_OCTET_LENGTH&quot;:256,
+            &quot;ordinal_POSITION&quot;:2,
+            &quot;is_NULLABLE&quot;:&quot;YES&quot;,
+            &quot;scope_CATLOG&quot;:null,
+            &quot;scope_SCHEMA&quot;:null,
+            &quot;scope_TABLE&quot;:null,
+            &quot;source_DATA_TYPE&quot;:-1,
+            &quot;iS_AUTOINCREMENT&quot;:null,
+            &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+            &quot;remarks&quot;:null,
+            &quot;type_NAME&quot;:&quot;VARCHAR(256) CHARACTER SET <span class="c">\&quot;UTF-16LE\&quot; COLLATE \&quot;UTF-16LE$en_US$primary\&quot;&quot;</span>
+         },
+         {  
+            &quot;table_NAME&quot;:&quot;TEST_SITES&quot;,
+            &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+            &quot;column_NAME&quot;:&quot;CRE_USER&quot;,
+            &quot;data_TYPE&quot;:12,
+            &quot;nullable&quot;:1,
+            &quot;column_SIZE&quot;:256,
+            &quot;buffer_LENGTH&quot;:-1,
+            &quot;decimal_DIGITS&quot;:0,
+            &quot;num_PREC_RADIX&quot;:10,
+            &quot;column_DEF&quot;:null,
+            &quot;sql_DATA_TYPE&quot;:-1,
+            &quot;sql_DATETIME_SUB&quot;:-1,
+            &quot;char_OCTET_LENGTH&quot;:256,
+            &quot;ordinal_POSITION&quot;:3,
+            &quot;is_NULLABLE&quot;:&quot;YES&quot;,
+            &quot;scope_CATLOG&quot;:null,
+            &quot;scope_SCHEMA&quot;:null,
+            &quot;scope_TABLE&quot;:null,
+            &quot;source_DATA_TYPE&quot;:-1,
+            &quot;iS_AUTOINCREMENT&quot;:null,
+            &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+            &quot;remarks&quot;:null,
+            &quot;type_NAME&quot;:&quot;VARCHAR(256) CHARACTER SET <span class="c">\&quot;UTF-16LE\&quot; COLLATE \&quot;UTF-16LE$en_US$primary\&quot;&quot;</span>
+         }
+      ],
+      &quot;table_NAME&quot;:&quot;TEST_SITES&quot;,
+      &quot;table_SCHEM&quot;:&quot;EDW&quot;,
+      &quot;ref_GENERATION&quot;:null,
+      &quot;self_REFERENCING_COL_NAME&quot;:null,
+      &quot;type_SCHEM&quot;:null,
+      &quot;table_TYPE&quot;:&quot;TABLE&quot;,
+      &quot;table_CAT&quot;:&quot;defaultCatalog&quot;,
+      &quot;remarks&quot;:null,
+      &quot;type_CAT&quot;:null,
+      &quot;type_NAME&quot;:null
+   }
+]</code></pre></div>
+
+<hr />
+
+<h3 id="list-cubes">List cubes</h3>
+<p><code>GET /cubes</code></p>
+
+<h4 id="request-parameters-1">Request Parameters</h4>
+<ul>
+  <li>cubeName - <code>optional</code> <code>string</code> Cube name to find.</li>
+  <li>offset - <code>required</code> <code>int</code> Offset used by pagination</li>
+  <li>limit - <code>required</code> <code>int </code> Cubes per page.</li>
+</ul>
+
+<h4 id="response-sample-3">Response Sample</h4>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">Status: 200OK</code></pre></div>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">[  
+   {  
+      &quot;uuid&quot;:&quot;1eaca32a-a33e-4b69-83dd-0bb8b1f8c53b&quot;,
+      &quot;last_modified&quot;:1407831634847,
+      &quot;name&quot;:&quot;test_kylin_cube_with_slr_empty&quot;,
+      &quot;owner&quot;:null,
+      &quot;version&quot;:null,
+      &quot;descriptor&quot;:&quot;test_kylin_cube_with_slr_desc&quot;,
+      &quot;cost&quot;:50,
+      &quot;status&quot;:&quot;DISABLED&quot;,
+      &quot;segments&quot;:[  
+      ],
+      &quot;create_time&quot;:null,
+      &quot;source_records_count&quot;:0,
+      &quot;source_records_size&quot;:0,
+      &quot;size_kb&quot;:0
+   }
+]</code></pre></div>
+
+<h3 id="rebuild-cube">Rebuild cube</h3>
+<p><code>PUT /cubes/{cubeName}/rebuild</code></p>
+
+<h4 id="path-variable">Path Variable</h4>
+<ul>
+  <li>cubeName - <code>required</code> <code>string</code> Cube name.</li>
+</ul>
+
+<h4 id="request-body-1">Request Body</h4>
+<ul>
+  <li>startTime - <code>required</code> <code>long</code> Start timestamp of data to build, e.g. 1388563200000 for 2014-1-1</li>
+  <li>endTime - <code>required</code> <code>long</code> End timestamp of data to build</li>
+  <li>buildType - <code>required</code> <code>string</code> Build type: ‘BUILD’ OR ‘MERGE’</li>
+</ul>
+
+<h4 id="response-sample-4">Response Sample</h4>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">Status: 200OK</code></pre></div>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">{  
+   &quot;uuid&quot;:&quot;c143e0e4-ac5f-434d-acf3-46b0d15e3dc6&quot;,
+   &quot;last_modified&quot;:1407908916705,
+   &quot;name&quot;:&quot;test_kylin_cube_with_slr_empty - 19700101000000_20140731160000 - BUILD - PDT 2014-08-12 22:48:36&quot;,
+   &quot;type&quot;:&quot;BUILD&quot;,
+   &quot;duration&quot;:0,
+   &quot;related_cube&quot;:&quot;test_kylin_cube_with_slr_empty&quot;,
+   &quot;related_segment&quot;:&quot;19700101000000_20140731160000&quot;,
+   &quot;exec_start_time&quot;:0,
+   &quot;exec_end_time&quot;:0,
+   &quot;mr_waiting&quot;:0,
+   &quot;steps&quot;:[  
+      {  
+         &quot;interruptCmd&quot;:null,
+         &quot;name&quot;:&quot;Create Intermediate Flat Hive Table&quot;,
+         &quot;sequence_id&quot;:0,
+         &quot;exec_cmd&quot;:&quot;hive -e <span class="c">\&quot;DROP TABLE IF EXISTS kylin_intermediate_test_kylin_cube_with_slr_desc_19700101000000_20140731160000_c143e0e4_ac5f_434d_acf3_46b0d15e3dc6;\nCREATE EXTERNAL TABLE IF NOT EXISTS kylin_intermediate_test_kylin_cube_with_slr_desc_19700101000000_20140731160000_c143e0e4_ac5f_434d_acf3_46b0d15e3dc6\n(\nCAL_DT date\n,LEAF_CATEG_ID int\n,LSTG_SITE_ID int\n,META_CATEG_NAME string\n,CATEG_LVL2_NAME string\n,CATEG_LVL3_NAME string\n,LSTG_FORMAT_NAME string\n,SLR_SEGMENT_CD smallint\n,SELLER_ID bigint\n,PRICE decimal\n)\nROW FORMAT DELIMITED FIELDS TERMINATED BY &#39;\\177&#39;\nSTORED AS SEQUENCEFILE\nLOCATION &#39;/tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/kylin_intermediate_test_kylin_cube_with_slr_desc_19700101000000_20140731160000_c143e0e4_ac5f_434d_acf3_46b0d15e3dc6&#39;;\nSET mapreduce.job.split.metainfo.maxsize=-1;\nSET mapred.compress.map.output=true;\nSET mapred.map.output.compression.codec=com.hadoop.compression.lzo
 .LzoCodec;\nSET mapred.output.compress=true;\nSET mapred.output.compression.codec=com.hadoop.compression.lzo.LzoCodec;\nSET mapred.output.compression.type=BLOCK;\nSET mapreduce.job.max.split.locations=2000;\nSET hive.exec.compress.output=true;\nSET hive.auto.convert.join.noconditionaltask = true;\nSET hive.auto.convert.join.noconditionaltask.size = 300000000;\nINSERT OVERWRITE TABLE kylin_intermediate_test_kylin_cube_with_slr_desc_19700101000000_20140731160000_c143e0e4_ac5f_434d_acf3_46b0d15e3dc6\nSELECT\nTEST_KYLIN_FACT.CAL_DT\n,TEST_KYLIN_FACT.LEAF_CATEG_ID\n,TEST_KYLIN_FACT.LSTG_SITE_ID\n,TEST_CATEGORY_GROUPINGS.META_CATEG_NAME\n,TEST_CATEGORY_GROUPINGS.CATEG_LVL2_NAME\n,TEST_CATEGORY_GROUPINGS.CATEG_LVL3_NAME\n,TEST_KYLIN_FACT.LSTG_FORMAT_NAME\n,TEST_KYLIN_FACT.SLR_SEGMENT_CD\n,TEST_KYLIN_FACT.SELLER_ID\n,TEST_KYLIN_FACT.PRICE\nFROM TEST_KYLIN_FACT\nINNER JOIN TEST_CAL_DT\nON TEST_KYLIN_FACT.CAL_DT = TEST_CAL_DT.CAL_DT\nINNER JOIN TEST_CATEGORY_GROUPINGS\nON TEST_KYLIN_FACT.LEAF
 _CATEG_ID = TEST_CATEGORY_GROUPINGS.LEAF_CATEG_ID AND TEST_KYLIN_FACT.LSTG_SITE_ID = TEST_CATEGORY_GROUPINGS.SITE_ID\nINNER JOIN TEST_SITES\nON TEST_KYLIN_FACT.LSTG_SITE_ID = TEST_SITES.SITE_ID\nINNER JOIN TEST_SELLER_TYPE_DIM\nON TEST_KYLIN_FACT.SLR_SEGMENT_CD = TEST_SELLER_TYPE_DIM.SELLER_TYPE_CD\nWHERE (test_kylin_fact.cal_dt &lt; &#39;2014-07-31 16:00:00&#39;)\n;\n\&quot;&quot;,</span>
+         &quot;interrupt_cmd&quot;:null,
+         &quot;exec_start_time&quot;:0,
+         &quot;exec_end_time&quot;:0,
+         &quot;exec_wait_time&quot;:0,
+         &quot;step_status&quot;:&quot;PENDING&quot;,
+         &quot;cmd_type&quot;:&quot;SHELL_CMD_HADOOP&quot;,
+         &quot;info&quot;:null,
+         &quot;run_async&quot;:false
+      },
+      {  
+         &quot;interruptCmd&quot;:null,
+         &quot;name&quot;:&quot;Extract Fact Table Distinct Columns&quot;,
+         &quot;sequence_id&quot;:1,
+         &quot;exec_cmd&quot;:&quot; -conf C:/kylin/Kylin/server/src/main/resources/hadoop_job_conf_medium.xml -cubename test_kylin_cube_with_slr_empty -input /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/kylin_intermediate_test_kylin_cube_with_slr_desc_19700101000000_20140731160000_c143e0e4_ac5f_434d_acf3_46b0d15e3dc6 -output /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/fact_distinct_columns -jobname Kylin_Fact_Distinct_Columns_test_kylin_cube_with_slr_empty_Step_1&quot;,
+         &quot;interrupt_cmd&quot;:null,
+         &quot;exec_start_time&quot;:0,
+         &quot;exec_end_time&quot;:0,
+         &quot;exec_wait_time&quot;:0,
+         &quot;step_status&quot;:&quot;PENDING&quot;,
+         &quot;cmd_type&quot;:&quot;JAVA_CMD_HADOOP_FACTDISTINCT&quot;,
+         &quot;info&quot;:null,
+         &quot;run_async&quot;:true
+      },
+      {  
+         &quot;interruptCmd&quot;:null,
+         &quot;name&quot;:&quot;Build Dimension Dictionary&quot;,
+         &quot;sequence_id&quot;:2,
+         &quot;exec_cmd&quot;:&quot; -cubename test_kylin_cube_with_slr_empty -segmentname 19700101000000_20140731160000 -input /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/fact_distinct_columns&quot;,
+         &quot;interrupt_cmd&quot;:null,
+         &quot;exec_start_time&quot;:0,
+         &quot;exec_end_time&quot;:0,
+         &quot;exec_wait_time&quot;:0,
+         &quot;step_status&quot;:&quot;PENDING&quot;,
+         &quot;cmd_type&quot;:&quot;JAVA_CMD_HADOOP_NO_MR_DICTIONARY&quot;,
+         &quot;info&quot;:null,
+         &quot;run_async&quot;:false
+      },
+      {  
+         &quot;interruptCmd&quot;:null,
+         &quot;name&quot;:&quot;Build Base Cuboid Data&quot;,
+         &quot;sequence_id&quot;:3,
+         &quot;exec_cmd&quot;:&quot; -conf C:/kylin/Kylin/server/src/main/resources/hadoop_job_conf_medium.xml -cubename test_kylin_cube_with_slr_empty -segmentname 19700101000000_20140731160000 -input /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/kylin_intermediate_test_kylin_cube_with_slr_desc_19700101000000_20140731160000_c143e0e4_ac5f_434d_acf3_46b0d15e3dc6 -output /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/cuboid/base_cuboid -jobname Kylin_Base_Cuboid_Builder_test_kylin_cube_with_slr_empty_Step_3 -level 0&quot;,
+         &quot;interrupt_cmd&quot;:null,
+         &quot;exec_start_time&quot;:0,
+         &quot;exec_end_time&quot;:0,
+         &quot;exec_wait_time&quot;:0,
+         &quot;step_status&quot;:&quot;PENDING&quot;,
+         &quot;cmd_type&quot;:&quot;JAVA_CMD_HADOOP_BASECUBOID&quot;,
+         &quot;info&quot;:null,
+         &quot;run_async&quot;:true
+      },
+      {  
+         &quot;interruptCmd&quot;:null,
+         &quot;name&quot;:&quot;Build N-Dimension Cuboid Data : 8-Dimension&quot;,
+         &quot;sequence_id&quot;:4,
+         &quot;exec_cmd&quot;:&quot; -conf C:/kylin/Kylin/server/src/main/resources/hadoop_job_conf_medium.xml -cubename test_kylin_cube_with_slr_empty -segmentname 19700101000000_20140731160000 -input /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/cuboid/base_cuboid -output /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/cuboid/8d_cuboid -jobname Kylin_ND-Cuboid_Builder_test_kylin_cube_with_slr_empty_Step_4 -level 1&quot;,
+         &quot;interrupt_cmd&quot;:null,
+         &quot;exec_start_time&quot;:0,
+         &quot;exec_end_time&quot;:0,
+         &quot;exec_wait_time&quot;:0,
+         &quot;step_status&quot;:&quot;PENDING&quot;,
+         &quot;cmd_type&quot;:&quot;JAVA_CMD_HADOOP_NDCUBOID&quot;,
+         &quot;info&quot;:null,
+         &quot;run_async&quot;:true
+      },
+      {  
+         &quot;interruptCmd&quot;:null,
+         &quot;name&quot;:&quot;Build N-Dimension Cuboid Data : 7-Dimension&quot;,
+         &quot;sequence_id&quot;:5,
+         &quot;exec_cmd&quot;:&quot; -conf C:/kylin/Kylin/server/src/main/resources/hadoop_job_conf_medium.xml -cubename test_kylin_cube_with_slr_empty -segmentname 19700101000000_20140731160000 -input /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/cuboid/8d_cuboid -output /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/cuboid/7d_cuboid -jobname Kylin_ND-Cuboid_Builder_test_kylin_cube_with_slr_empty_Step_5 -level 2&quot;,
+         &quot;interrupt_cmd&quot;:null,
+         &quot;exec_start_time&quot;:0,
+         &quot;exec_end_time&quot;:0,
+         &quot;exec_wait_time&quot;:0,
+         &quot;step_status&quot;:&quot;PENDING&quot;,
+         &quot;cmd_type&quot;:&quot;JAVA_CMD_HADOOP_NDCUBOID&quot;,
+         &quot;info&quot;:null,
+         &quot;run_async&quot;:true
+      },
+      {  
+         &quot;interruptCmd&quot;:null,
+         &quot;name&quot;:&quot;Build N-Dimension Cuboid Data : 6-Dimension&quot;,
+         &quot;sequence_id&quot;:6,
+         &quot;exec_cmd&quot;:&quot; -conf C:/kylin/Kylin/server/src/main/resources/hadoop_job_conf_medium.xml -cubename test_kylin_cube_with_slr_empty -segmentname 19700101000000_20140731160000 -input /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/cuboid/7d_cuboid -output /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/cuboid/6d_cuboid -jobname Kylin_ND-Cuboid_Builder_test_kylin_cube_with_slr_empty_Step_6 -level 3&quot;,
+         &quot;interrupt_cmd&quot;:null,
+         &quot;exec_start_time&quot;:0,
+         &quot;exec_end_time&quot;:0,
+         &quot;exec_wait_time&quot;:0,
+         &quot;step_status&quot;:&quot;PENDING&quot;,
+         &quot;cmd_type&quot;:&quot;JAVA_CMD_HADOOP_NDCUBOID&quot;,
+         &quot;info&quot;:null,
+         &quot;run_async&quot;:true
+      },
+      {  
+         &quot;interruptCmd&quot;:null,
+         &quot;name&quot;:&quot;Build N-Dimension Cuboid Data : 5-Dimension&quot;,
+         &quot;sequence_id&quot;:7,
+         &quot;exec_cmd&quot;:&quot; -conf C:/kylin/Kylin/server/src/main/resources/hadoop_job_conf_medium.xml -cubename test_kylin_cube_with_slr_empty -segmentname 19700101000000_20140731160000 -input /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/cuboid/6d_cuboid -output /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/cuboid/5d_cuboid -jobname Kylin_ND-Cuboid_Builder_test_kylin_cube_with_slr_empty_Step_7 -level 4&quot;,
+         &quot;interrupt_cmd&quot;:null,
+         &quot;exec_start_time&quot;:0,
+         &quot;exec_end_time&quot;:0,
+         &quot;exec_wait_time&quot;:0,
+         &quot;step_status&quot;:&quot;PENDING&quot;,
+         &quot;cmd_type&quot;:&quot;JAVA_CMD_HADOOP_NDCUBOID&quot;,
+         &quot;info&quot;:null,
+         &quot;run_async&quot;:true
+      },
+      {  
+         &quot;interruptCmd&quot;:null,
+         &quot;name&quot;:&quot;Build N-Dimension Cuboid Data : 4-Dimension&quot;,
+         &quot;sequence_id&quot;:8,
+         &quot;exec_cmd&quot;:&quot; -conf C:/kylin/Kylin/server/src/main/resources/hadoop_job_conf_medium.xml -cubename test_kylin_cube_with_slr_empty -segmentname 19700101000000_20140731160000 -input /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/cuboid/5d_cuboid -output /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/cuboid/4d_cuboid -jobname Kylin_ND-Cuboid_Builder_test_kylin_cube_with_slr_empty_Step_8 -level 5&quot;,
+         &quot;interrupt_cmd&quot;:null,
+         &quot;exec_start_time&quot;:0,
+         &quot;exec_end_time&quot;:0,
+         &quot;exec_wait_time&quot;:0,
+         &quot;step_status&quot;:&quot;PENDING&quot;,
+         &quot;cmd_type&quot;:&quot;JAVA_CMD_HADOOP_NDCUBOID&quot;,
+         &quot;info&quot;:null,
+         &quot;run_async&quot;:true
+      },
+      {  
+         &quot;interruptCmd&quot;:null,
+         &quot;name&quot;:&quot;Calculate HTable Region Splits&quot;,
+         &quot;sequence_id&quot;:9,
+         &quot;exec_cmd&quot;:&quot; -conf C:/kylin/Kylin/server/src/main/resources/hadoop_job_conf_medium.xml -input /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/cuboid/* -output /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/rowkey_stats -jobname Kylin_Region_Splits_Calculator_test_kylin_cube_with_slr_empty_Step_9 -cubename test_kylin_cube_with_slr_empty&quot;,
+         &quot;interrupt_cmd&quot;:null,
+         &quot;exec_start_time&quot;:0,
+         &quot;exec_end_time&quot;:0,
+         &quot;exec_wait_time&quot;:0,
+         &quot;step_status&quot;:&quot;PENDING&quot;,
+         &quot;cmd_type&quot;:&quot;JAVA_CMD_HADOOP_RANGEKEYDISTRIBUTION&quot;,
+         &quot;info&quot;:null,
+         &quot;run_async&quot;:true
+      },
+      {  
+         &quot;interruptCmd&quot;:null,
+         &quot;name&quot;:&quot;Create HTable&quot;,
+         &quot;sequence_id&quot;:10,
+         &quot;exec_cmd&quot;:&quot; -cubename test_kylin_cube_with_slr_empty -input /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/rowkey_stats/part-r-00000 -htablename KYLIN-CUBE-TEST_KYLIN_CUBE_WITH_SLR_EMPTY-19700101000000_20140731160000_11BB4326-5975-4358-804C-70D53642E03A&quot;,
+         &quot;interrupt_cmd&quot;:null,
+         &quot;exec_start_time&quot;:0,
+         &quot;exec_end_time&quot;:0,
+         &quot;exec_wait_time&quot;:0,
+         &quot;step_status&quot;:&quot;PENDING&quot;,
+         &quot;cmd_type&quot;:&quot;JAVA_CMD_HADDOP_NO_MR_CREATEHTABLE&quot;,
+         &quot;info&quot;:null,
+         &quot;run_async&quot;:false
+      },
+      {  
+         &quot;interruptCmd&quot;:null,
+         &quot;name&quot;:&quot;Convert Cuboid Data to HFile&quot;,
+         &quot;sequence_id&quot;:11,
+         &quot;exec_cmd&quot;:&quot; -conf C:/kylin/Kylin/server/src/main/resources/hadoop_job_conf_medium.xml -cubename test_kylin_cube_with_slr_empty -input /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/cuboid/* -output /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/hfile -htablename KYLIN-CUBE-TEST_KYLIN_CUBE_WITH_SLR_EMPTY-19700101000000_20140731160000_11BB4326-5975-4358-804C-70D53642E03A -jobname Kylin_HFile_Generator_test_kylin_cube_with_slr_empty_Step_11&quot;,
+         &quot;interrupt_cmd&quot;:null,
+         &quot;exec_start_time&quot;:0,
+         &quot;exec_end_time&quot;:0,
+         &quot;exec_wait_time&quot;:0,
+         &quot;step_status&quot;:&quot;PENDING&quot;,
+         &quot;cmd_type&quot;:&quot;JAVA_CMD_HADOOP_CONVERTHFILE&quot;,
+         &quot;info&quot;:null,
+         &quot;run_async&quot;:true
+      },
+      {  
+         &quot;interruptCmd&quot;:null,
+         &quot;name&quot;:&quot;Load HFile to HBase Table&quot;,
+         &quot;sequence_id&quot;:12,
+         &quot;exec_cmd&quot;:&quot; -input /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/hfile/ -htablename KYLIN-CUBE-TEST_KYLIN_CUBE_WITH_SLR_EMPTY-19700101000000_20140731160000_11BB4326-5975-4358-804C-70D53642E03A -cubename test_kylin_cube_with_slr_empty&quot;,
+         &quot;interrupt_cmd&quot;:null,
+         &quot;exec_start_time&quot;:0,
+         &quot;exec_end_time&quot;:0,
+         &quot;exec_wait_time&quot;:0,
+         &quot;step_status&quot;:&quot;PENDING&quot;,
+         &quot;cmd_type&quot;:&quot;JAVA_CMD_HADOOP_NO_MR_BULKLOAD&quot;,
+         &quot;info&quot;:null,
+         &quot;run_async&quot;:false
+      }
+   ],
+   &quot;job_status&quot;:&quot;PENDING&quot;,
+   &quot;progress&quot;:0.0
+}</code></pre></div>
+
+<h3 id="disable-cube">Disable Cube</h3>
+<p><code>PUT /cubes/{cubeName}/disable</code></p>
+
+<h4 id="path-variable-1">Path variable</h4>
+<ul>
+  <li>cubeName - <code>required</code> <code>string</code> Cube name.</li>
+</ul>
+
+<h4 id="response-sample-5">Response Sample</h4>
+<p>(Same as “Enable Cube”)</p>
+
+<h3 id="purge-cube">Purge Cube</h3>
+<p><code>PUT /cubes/{cubeName}/purge</code></p>
+
+<h4 id="path-variable-2">Path variable</h4>
+<ul>
+  <li>cubeName - <code>required</code> <code>string</code> Cube name.</li>
+</ul>
+
+<h4 id="response-sample-6">Response Sample</h4>
+<p>(Same as “Enable Cube”)</p>
+
+<h3 id="enable-cube">Enable Cube</h3>
+<p><code>PUT /cubes/{cubeName}/enable</code></p>
+
+<h4 id="path-variable-3">Path variable</h4>
+<ul>
+  <li>cubeName - <code>required</code> <code>string</code> Cube name.</li>
+</ul>
+
+<h4 id="response-sample-7">Response Sample</h4>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">Status: 200OK</code></pre></div>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">{  
+   &quot;uuid&quot;:&quot;1eaca32a-a33e-4b69-83dd-0bb8b1f8c53b&quot;,
+   &quot;last_modified&quot;:1407909046305,
+   &quot;name&quot;:&quot;test_kylin_cube_with_slr_ready&quot;,
+   &quot;owner&quot;:null,
+   &quot;version&quot;:null,
+   &quot;descriptor&quot;:&quot;test_kylin_cube_with_slr_desc&quot;,
+   &quot;cost&quot;:50,
+   &quot;status&quot;:&quot;ACTIVE&quot;,
+   &quot;segments&quot;:[  
+      {  
+         &quot;name&quot;:&quot;19700101000000_20140531160000&quot;,
+         &quot;storage_location_identifier&quot;:&quot;KYLIN-CUBE-TEST_KYLIN_CUBE_WITH_SLR_READY-19700101000000_20140531160000_BF043D2D-9A4A-45E9-AA59-5A17D3F34A50&quot;,
+         &quot;date_range_start&quot;:0,
+         &quot;date_range_end&quot;:1401552000000,
+         &quot;status&quot;:&quot;READY&quot;,
+         &quot;size_kb&quot;:4758,
+         &quot;source_records&quot;:6000,
+         &quot;source_records_size&quot;:620356,
+         &quot;last_build_time&quot;:1407832663227,
+         &quot;last_build_job_id&quot;:&quot;2c7a2b63-b052-4a51-8b09-0c24b5792cda&quot;,
+         &quot;binary_signature&quot;:null,
+         &quot;dictionaries&quot;:{  
+            &quot;TEST_CATEGORY_GROUPINGS/CATEG_LVL2_NAME&quot;:&quot;/dict/TEST_CATEGORY_GROUPINGS/CATEG_LVL2_NAME/16d8185c-ee6b-4f8c-a919-756d9809f937.dict&quot;,
+            &quot;TEST_KYLIN_FACT/LSTG_SITE_ID&quot;:&quot;/dict/TEST_SITES/SITE_ID/0bec6bb3-1b0d-469c-8289-b8c4ca5d5001.dict&quot;,
+            &quot;TEST_KYLIN_FACT/SLR_SEGMENT_CD&quot;:&quot;/dict/TEST_SELLER_TYPE_DIM/SELLER_TYPE_CD/0c5d77ec-316b-47e0-ba9a-0616be890ad6.dict&quot;,
+            &quot;TEST_KYLIN_FACT/CAL_DT&quot;:&quot;/dict/PREDEFINED/date(yyyy-mm-dd)/64ac4f82-f2af-476e-85b9-f0805001014e.dict&quot;,
+            &quot;TEST_CATEGORY_GROUPINGS/CATEG_LVL3_NAME&quot;:&quot;/dict/TEST_CATEGORY_GROUPINGS/CATEG_LVL3_NAME/270fbfb0-281c-4602-8413-2970a7439c47.dict&quot;,
+            &quot;TEST_KYLIN_FACT/LEAF_CATEG_ID&quot;:&quot;/dict/TEST_CATEGORY_GROUPINGS/LEAF_CATEG_ID/2602386c-debb-4968-8d2f-b52b8215e385.dict&quot;,
+            &quot;TEST_CATEGORY_GROUPINGS/META_CATEG_NAME&quot;:&quot;/dict/TEST_CATEGORY_GROUPINGS/META_CATEG_NAME/0410d2c4-4686-40bc-ba14-170042a2de94.dict&quot;
+         },
+         &quot;snapshots&quot;:{  
+            &quot;TEST_CAL_DT&quot;:&quot;/table_snapshot/TEST_CAL_DT.csv/8f7cfc8a-020d-4019-b419-3c6deb0ffaa0.snapshot&quot;,
+            &quot;TEST_SELLER_TYPE_DIM&quot;:&quot;/table_snapshot/TEST_SELLER_TYPE_DIM.csv/c60fd05e-ac94-4016-9255-96521b273b81.snapshot&quot;,
+            &quot;TEST_CATEGORY_GROUPINGS&quot;:&quot;/table_snapshot/TEST_CATEGORY_GROUPINGS.csv/363f4a59-b725-4459-826d-3188bde6a971.snapshot&quot;,
+            &quot;TEST_SITES&quot;:&quot;/table_snapshot/TEST_SITES.csv/78e0aecc-3ec6-4406-b86e-bac4b10ea63b.snapshot&quot;
+         }
+      }
+   ],
+   &quot;create_time&quot;:null,
+   &quot;source_records_count&quot;:6000,
+   &quot;source_records_size&quot;:0,
+   &quot;size_kb&quot;:4758
+}</code></pre></div>
+
+<h3 id="resume-job">Resume Job</h3>
+<p><code>PUT /jobs/{jobId}/resume</code></p>
+
+<h4 id="path-variable-4">Path variable</h4>
+<ul>
+  <li>jobId- <code>required</code> <code>string</code> Job id.</li>
+</ul>
+
+<h4 id="response-sample-8">Response Sample</h4>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">Status: 200OK</code></pre></div>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">{  
+   &quot;uuid&quot;:&quot;c143e0e4-ac5f-434d-acf3-46b0d15e3dc6&quot;,
+   &quot;last_modified&quot;:1407908916705,
+   &quot;name&quot;:&quot;test_kylin_cube_with_slr_empty - 19700101000000_20140731160000 - BUILD - PDT 2014-08-12 22:48:36&quot;,
+   &quot;type&quot;:&quot;BUILD&quot;,
+   &quot;duration&quot;:0,
+   &quot;related_cube&quot;:&quot;test_kylin_cube_with_slr_empty&quot;,
+   &quot;related_segment&quot;:&quot;19700101000000_20140731160000&quot;,
+   &quot;exec_start_time&quot;:0,
+   &quot;exec_end_time&quot;:0,
+   &quot;mr_waiting&quot;:0,
+   &quot;steps&quot;:[  
+      {  
+         &quot;interruptCmd&quot;:null,
+         &quot;name&quot;:&quot;Create Intermediate Flat Hive Table&quot;,
+         &quot;sequence_id&quot;:0,
+         &quot;exec_cmd&quot;:&quot;hive -e <span class="c">\&quot;DROP TABLE IF EXISTS kylin_intermediate_test_kylin_cube_with_slr_desc_19700101000000_20140731160000_c143e0e4_ac5f_434d_acf3_46b0d15e3dc6;\nCREATE EXTERNAL TABLE IF NOT EXISTS kylin_intermediate_test_kylin_cube_with_slr_desc_19700101000000_20140731160000_c143e0e4_ac5f_434d_acf3_46b0d15e3dc6\n(\nCAL_DT date\n,LEAF_CATEG_ID int\n,LSTG_SITE_ID int\n,META_CATEG_NAME string\n,CATEG_LVL2_NAME string\n,CATEG_LVL3_NAME string\n,LSTG_FORMAT_NAME string\n,SLR_SEGMENT_CD smallint\n,SELLER_ID bigint\n,PRICE decimal\n)\nROW FORMAT DELIMITED FIELDS TERMINATED BY &#39;\\177&#39;\nSTORED AS SEQUENCEFILE\nLOCATION &#39;/tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/kylin_intermediate_test_kylin_cube_with_slr_desc_19700101000000_20140731160000_c143e0e4_ac5f_434d_acf3_46b0d15e3dc6&#39;;\nSET mapreduce.job.split.metainfo.maxsize=-1;\nSET mapred.compress.map.output=true;\nSET mapred.map.output.compression.codec=com.hadoop.compression.lzo
 .LzoCodec;\nSET mapred.output.compress=true;\nSET mapred.output.compression.codec=com.hadoop.compression.lzo.LzoCodec;\nSET mapred.output.compression.type=BLOCK;\nSET mapreduce.job.max.split.locations=2000;\nSET hive.exec.compress.output=true;\nSET hive.auto.convert.join.noconditionaltask = true;\nSET hive.auto.convert.join.noconditionaltask.size = 300000000;\nINSERT OVERWRITE TABLE kylin_intermediate_test_kylin_cube_with_slr_desc_19700101000000_20140731160000_c143e0e4_ac5f_434d_acf3_46b0d15e3dc6\nSELECT\nTEST_KYLIN_FACT.CAL_DT\n,TEST_KYLIN_FACT.LEAF_CATEG_ID\n,TEST_KYLIN_FACT.LSTG_SITE_ID\n,TEST_CATEGORY_GROUPINGS.META_CATEG_NAME\n,TEST_CATEGORY_GROUPINGS.CATEG_LVL2_NAME\n,TEST_CATEGORY_GROUPINGS.CATEG_LVL3_NAME\n,TEST_KYLIN_FACT.LSTG_FORMAT_NAME\n,TEST_KYLIN_FACT.SLR_SEGMENT_CD\n,TEST_KYLIN_FACT.SELLER_ID\n,TEST_KYLIN_FACT.PRICE\nFROM TEST_KYLIN_FACT\nINNER JOIN TEST_CAL_DT\nON TEST_KYLIN_FACT.CAL_DT = TEST_CAL_DT.CAL_DT\nINNER JOIN TEST_CATEGORY_GROUPINGS\nON TEST_KYLIN_FACT.LEAF
 _CATEG_ID = TEST_CATEGORY_GROUPINGS.LEAF_CATEG_ID AND TEST_KYLIN_FACT.LSTG_SITE_ID = TEST_CATEGORY_GROUPINGS.SITE_ID\nINNER JOIN TEST_SITES\nON TEST_KYLIN_FACT.LSTG_SITE_ID = TEST_SITES.SITE_ID\nINNER JOIN TEST_SELLER_TYPE_DIM\nON TEST_KYLIN_FACT.SLR_SEGMENT_CD = TEST_SELLER_TYPE_DIM.SELLER_TYPE_CD\nWHERE (test_kylin_fact.cal_dt &lt; &#39;2014-07-31 16:00:00&#39;)\n;\n\&quot;&quot;,</span>
+         &quot;interrupt_cmd&quot;:null,
+         &quot;exec_start_time&quot;:0,
+         &quot;exec_end_time&quot;:0,
+         &quot;exec_wait_time&quot;:0,
+         &quot;step_status&quot;:&quot;PENDING&quot;,
+         &quot;cmd_type&quot;:&quot;SHELL_CMD_HADOOP&quot;,
+         &quot;info&quot;:null,
+         &quot;run_async&quot;:false
+      },
+      {  
+         &quot;interruptCmd&quot;:null,
+         &quot;name&quot;:&quot;Extract Fact Table Distinct Columns&quot;,
+         &quot;sequence_id&quot;:1,
+         &quot;exec_cmd&quot;:&quot; -conf C:/kylin/Kylin/server/src/main/resources/hadoop_job_conf_medium.xml -cubename test_kylin_cube_with_slr_empty -input /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/kylin_intermediate_test_kylin_cube_with_slr_desc_19700101000000_20140731160000_c143e0e4_ac5f_434d_acf3_46b0d15e3dc6 -output /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/fact_distinct_columns -jobname Kylin_Fact_Distinct_Columns_test_kylin_cube_with_slr_empty_Step_1&quot;,
+         &quot;interrupt_cmd&quot;:null,
+         &quot;exec_start_time&quot;:0,
+         &quot;exec_end_time&quot;:0,
+         &quot;exec_wait_time&quot;:0,
+         &quot;step_status&quot;:&quot;PENDING&quot;,
+         &quot;cmd_type&quot;:&quot;JAVA_CMD_HADOOP_FACTDISTINCT&quot;,
+         &quot;info&quot;:null,
+         &quot;run_async&quot;:true
+      },
+      {  
+         &quot;interruptCmd&quot;:null,
+         &quot;name&quot;:&quot;Build Dimension Dictionary&quot;,
+         &quot;sequence_id&quot;:2,
+         &quot;exec_cmd&quot;:&quot; -cubename test_kylin_cube_with_slr_empty -segmentname 19700101000000_20140731160000 -input /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/fact_distinct_columns&quot;,
+         &quot;interrupt_cmd&quot;:null,
+         &quot;exec_start_time&quot;:0,
+         &quot;exec_end_time&quot;:0,
+         &quot;exec_wait_time&quot;:0,
+         &quot;step_status&quot;:&quot;PENDING&quot;,
+         &quot;cmd_type&quot;:&quot;JAVA_CMD_HADOOP_NO_MR_DICTIONARY&quot;,
+         &quot;info&quot;:null,
+         &quot;run_async&quot;:false
+      },
+      {  
+         &quot;interruptCmd&quot;:null,
+         &quot;name&quot;:&quot;Build Base Cuboid Data&quot;,
+         &quot;sequence_id&quot;:3,
+         &quot;exec_cmd&quot;:&quot; -conf C:/kylin/Kylin/server/src/main/resources/hadoop_job_conf_medium.xml -cubename test_kylin_cube_with_slr_empty -segmentname 19700101000000_20140731160000 -input /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/kylin_intermediate_test_kylin_cube_with_slr_desc_19700101000000_20140731160000_c143e0e4_ac5f_434d_acf3_46b0d15e3dc6 -output /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/cuboid/base_cuboid -jobname Kylin_Base_Cuboid_Builder_test_kylin_cube_with_slr_empty_Step_3 -level 0&quot;,
+         &quot;interrupt_cmd&quot;:null,
+         &quot;exec_start_time&quot;:0,
+         &quot;exec_end_time&quot;:0,
+         &quot;exec_wait_time&quot;:0,
+         &quot;step_status&quot;:&quot;PENDING&quot;,
+         &quot;cmd_type&quot;:&quot;JAVA_CMD_HADOOP_BASECUBOID&quot;,
+         &quot;info&quot;:null,
+         &quot;run_async&quot;:true
+      },
+      {  
+         &quot;interruptCmd&quot;:null,
+         &quot;name&quot;:&quot;Build N-Dimension Cuboid Data : 8-Dimension&quot;,
+         &quot;sequence_id&quot;:4,
+         &quot;exec_cmd&quot;:&quot; -conf C:/kylin/Kylin/server/src/main/resources/hadoop_job_conf_medium.xml -cubename test_kylin_cube_with_slr_empty -segmentname 19700101000000_20140731160000 -input /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/cuboid/base_cuboid -output /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/cuboid/8d_cuboid -jobname Kylin_ND-Cuboid_Builder_test_kylin_cube_with_slr_empty_Step_4 -level 1&quot;,
+         &quot;interrupt_cmd&quot;:null,
+         &quot;exec_start_time&quot;:0,
+         &quot;exec_end_time&quot;:0,
+         &quot;exec_wait_time&quot;:0,
+         &quot;step_status&quot;:&quot;PENDING&quot;,
+         &quot;cmd_type&quot;:&quot;JAVA_CMD_HADOOP_NDCUBOID&quot;,
+         &quot;info&quot;:null,
+         &quot;run_async&quot;:true
+      },
+      {  
+         &quot;interruptCmd&quot;:null,
+         &quot;name&quot;:&quot;Build N-Dimension Cuboid Data : 7-Dimension&quot;,
+         &quot;sequence_id&quot;:5,
+         &quot;exec_cmd&quot;:&quot; -conf C:/kylin/Kylin/server/src/main/resources/hadoop_job_conf_medium.xml -cubename test_kylin_cube_with_slr_empty -segmentname 19700101000000_20140731160000 -input /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/cuboid/8d_cuboid -output /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/cuboid/7d_cuboid -jobname Kylin_ND-Cuboid_Builder_test_kylin_cube_with_slr_empty_Step_5 -level 2&quot;,
+         &quot;interrupt_cmd&quot;:null,
+         &quot;exec_start_time&quot;:0,
+         &quot;exec_end_time&quot;:0,
+         &quot;exec_wait_time&quot;:0,
+         &quot;step_status&quot;:&quot;PENDING&quot;,
+         &quot;cmd_type&quot;:&quot;JAVA_CMD_HADOOP_NDCUBOID&quot;,
+         &quot;info&quot;:null,
+         &quot;run_async&quot;:true
+      },
+      {  
+         &quot;interruptCmd&quot;:null,
+         &quot;name&quot;:&quot;Build N-Dimension Cuboid Data : 6-Dimension&quot;,
+         &quot;sequence_id&quot;:6,
+         &quot;exec_cmd&quot;:&quot; -conf C:/kylin/Kylin/server/src/main/resources/hadoop_job_conf_medium.xml -cubename test_kylin_cube_with_slr_empty -segmentname 19700101000000_20140731160000 -input /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/cuboid/7d_cuboid -output /tmp/kylin-c143e0e4-ac5f-434d-acf3-46b0d15e3dc6/test_kylin_cube_with_slr_empty/cuboid/6d_cuboid -jobname Kylin_ND-Cuboid_Builder_test_kylin_cube_with_slr_empty_Step_6 -level 3&quot;,
+         &quot;interrupt_cmd&quot;:null,
+         &quot;exec_start_time&quot;:0,
+         &quot;exec_end_time&quot;:0,
+         &quot;exec_wait_time&quot;:0,

[... 594 lines stripped ...]