[ 
https://issues.apache.org/jira/browse/TAJO-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15030927#comment-15030927
 ] 

ASF GitHub Bot commented on TAJO-1944:
--------------------------------------

Github user jihoonson commented on a diff in the pull request:

    https://github.com/apache/tajo/pull/876#discussion_r46091734
  
    --- Diff: 
tajo-core/src/main/java/org/apache/tajo/ws/rs/annotation/RestReturnType.java ---
    @@ -0,0 +1,37 @@
    +/**
    + * 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.
    + */
    +
    +package org.apache.tajo.ws.rs.annotation;
    +
    +import java.lang.annotation.ElementType;
    +import java.lang.annotation.Retention;
    +import java.lang.annotation.RetentionPolicy;
    +import java.lang.annotation.Target;
    +
    +/**
    + * Description.
    + *
    + */
    +@Retention(RetentionPolicy.RUNTIME)
    +@Target(ElementType.TYPE)
    +public @interface RestReturnType {
    +
    +    String description() default "";
    --- End diff --
    
    ```Description``` seems to be not used. Maybe you have a plan to use it 
later.
    Would you share your intention? 


> Support text resultset for REST 
> --------------------------------
>
>                 Key: TAJO-1944
>                 URL: https://issues.apache.org/jira/browse/TAJO-1944
>             Project: Tajo
>          Issue Type: Task
>          Components: REST API
>            Reporter: Jihoon Son
>            Assignee: DaeMyung Kang
>             Fix For: 0.11.1
>
>
> See the discussion at http://markmail.org/message/gpvzw7fcbo4rrtkt.
> Currently, our REST api returns result sets in a binary form. This makes 
> users to use our REST api difficult. 
> However, see another discussion at 
> https://mail-archives.apache.org/mod_mbox/tajo-dev/201503.mbox/%3ccafu6yh0dgbvwqnbyw3hrp-6dvzp4fg65mnpueqqgwuoq_x_...@mail.gmail.com%3E.
>  Since we plan to support other types of clients using REST api, we also need 
> to support binary result sets. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to