??????[jira] [Created] (IOTDB-240) query problem for iotdb filter

2019-09-25 Thread ??????????????????????
Hi~ I'm working on this issue and I think "both condition 2 and 3 should 
respond with error message" is better




--  --
??: "Yuan Tian (Jira)";
: 2019??9??25??(??) 9:56
??: "dev";

: [jira] [Created] (IOTDB-240) query problem for iotdb filter



EJTTianyu created IOTDB-240:
---

 Summary: query problem for iotdb filter
 Key: IOTDB-240
 URL: https://issues.apache.org/jira/browse/IOTDB-240
 Project: Apache IoTDB
  Issue Type: Bug
Reporter: EJTTianyu


When querying a timeseries that does not exist, iotdb shows different behavior 
for SQL with or without filter.
After starting a new iotdb instance, The following steps in iotdb-client below 
could reproduce the problem.
Step 1: set storage group to root.demo
Step 2: CREATE TIMESERIES root.demo.ZT31 WITH DATATYPE=INT64, ENCODING=RLE
Step 3:insert into root.demo(timestamp,ZT31) values(1,1)
when using sql:
1.select ZT1 from root.demo
  iotdb-client responds with message "Msg: Execute statement error: do not 
select any existing series"
2.select ZT1,ZT31 from root.demo
  iotdb-client responds with
+---+--+
|   Time|root.demo.ZT31|
+---+--+
|  1970-01-01T08:00:00.001+08:00| 1|
+---+--+
3.select ZT1,ZT31 from root.demo where ZT1>0
 iotdb-client responds with message "Msg: Execute statement error: Index: 0, 
Size: 0"

Timeseries ZT1 does not exist in condition 2 and condition 3. However, without 
using ZT1 as filter to query  multiple sensors(at least one exists), iotdb 
could respond with datapoints. When using ZT1 as filter, the returned msg 
confused users.

In my opinion, both condition 2 and 3 should respond with message "Msg: Execute 
statement error: do not select any existing series". Or condition 2 responds 
with datapoints, condition 3 responds with "Msg: Execute statement error: do 
not select any existing series".




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Re: [Documents] Add JavaDoc API for the official site

2019-09-25 Thread Christofer Dutz
Hi all,

The double star comment block marks it as related to the code block below. If 
you switch to single star comments, javadoc will not report problems, but it 
will ja ignore the entire content. So using single star comments is the easy 
and not the good way to "fix" things.

I would highly recommend to fix them correctly.

Chris

Holen Sie sich Outlook für Android


From: Jialin Qiao 
Sent: Thursday, September 26, 2019 7:30:20 AM
To: dev@iotdb.apache.org 
Subject: Re: [Documents] Add JavaDoc API for the official site

Hi,

Thanks for your help. This update is accepted.

Best,
--
Jialin Qiao
School of Software, Tsinghua University

乔嘉林
清华大学 软件学院

> -原始邮件-
> 发件人: "Justin Mclean" 
> 发送时间: 2019-09-26 12:52:40 (星期四)
> 收件人: dev@iotdb.apache.org
> 抄送:
> 主题: Re: [Documents] Add JavaDoc API for the official site
>
> Hi,
>
> > Ah... It is really a big issue... using "/*" rather than "/**" for Apache
> > Rat is correct.
>
> I don’t think Rat cares which you use. ASF policy certainly doesn’t care. [1]
>
> Thanks,
> Justin
>
> 1. https://www.apache.org/legal/src-headers.html#headers


Re: [Documents] Add JavaDoc API for the official site

2019-09-25 Thread Jialin Qiao
Hi,

Thanks for your help. This update is accepted.
 
Best,
--
Jialin Qiao
School of Software, Tsinghua University

乔嘉林
清华大学 软件学院

> -原始邮件-
> 发件人: "Justin Mclean" 
> 发送时间: 2019-09-26 12:52:40 (星期四)
> 收件人: dev@iotdb.apache.org
> 抄送: 
> 主题: Re: [Documents] Add JavaDoc API for the official site
> 
> Hi,
> 
> > Ah... It is really a big issue... using "/*" rather than "/**" for Apache
> > Rat is correct.
> 
> I don’t think Rat cares which you use. ASF policy certainly doesn’t care. [1]
> 
> Thanks,
> Justin
> 
> 1. https://www.apache.org/legal/src-headers.html#headers


Re: Release of 0.8.1

2019-09-25 Thread Jialin Qiao
Hi,

may be this PR:

* Bug about 'serializedSize' in ChunkGroupMetaData.java
* https://github.com/apache/incubator-iotdb/pull/396/files

--
Jialin Qiao
School of Software, Tsinghua University

乔嘉林
清华大学 软件学院

> -原始邮件-
> 发件人: "Xiangdong Huang" 
> 发送时间: 2019-09-26 12:37:31 (星期四)
> 收件人: dev@iotdb.apache.org
> 抄送: 
> 主题: Re: Release of 0.8.1
> 
> Hi,
> 
> I am working on it. Any else PRs that should be involved in 0.8.1?
> 
> Best,
> ---
> Xiangdong Huang
> School of Software, Tsinghua University
> 
>  黄向东
> 清华大学 软件学院
> 
> 
> Jialin Qiao  于2019年9月17日周二 下午12:53写道:
> 
> > Hi,
> >
> > I went through recent PRs and list those related to bug-fix of 0.8.0.
> >
> > * bug in updating startTime and endTime in TsFileResource
> > * https://github.com/apache/incubator-iotdb/pull/347
> > * bug of Mix unsequence folder in sequence folder
> > * https://github.com/apache/incubator-iotdb/pull/393
> > * bug in tsfile batch write interface
> > * https://github.com/apache/incubator-iotdb/pull/344
> > * https://github.com/apache/incubator-iotdb/pull/385
> > * bug in query with partition info of TsFile
> > * https://github.com/apache/incubator-iotdb/pull/382
> > * bug in tsfile module in example
> > * https://github.com/apache/incubator-iotdb/pull/378
> > * bug of the serialized size of String
> > * https://github.com/apache/incubator-iotdb/pull/377
> > * bug of docs (maven version)
> > * https://github.com/apache/incubator-iotdb/pull/364
> >
> > The 0.8.1 could contain these commits.
> >
> > Best,
> > --
> > Jialin Qiao
> > School of Software, Tsinghua University
> >
> > 乔嘉林
> > 清华大学 软件学院
> >
> > > -原始邮件-
> > > 发件人: "Jialin Qiao (Jira)" 
> > > 发送时间: 2019-09-17 11:53:00 (星期二)
> > > 收件人: dev@iotdb.apache.org
> > > 抄送:
> > > 主题: [jira] [Created] (IOTDB-216) Release of 0.8.1
> > >
> > > Jialin Qiao created IOTDB-216:
> > > -
> > >
> > >  Summary: Release of 0.8.1
> > >  Key: IOTDB-216
> > >  URL: https://issues.apache.org/jira/browse/IOTDB-216
> > >  Project: Apache IoTDB
> > >   Issue Type: Task
> > > Reporter: Jialin Qiao
> > >
> > >
> > > This is a bug-fix version of 0.8.0
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > This message was sent by Atlassian Jira
> > > (v8.3.2#803003)
> >


Re: [Documents] Add JavaDoc API for the official site

2019-09-25 Thread Justin Mclean
Hi,

> Ah... It is really a big issue... using "/*" rather than "/**" for Apache
> Rat is correct.

I don’t think Rat cares which you use. ASF policy certainly doesn’t care. [1]

Thanks,
Justin

1. https://www.apache.org/legal/src-headers.html#headers

Re: [Documents] Add JavaDoc API for the official site

2019-09-25 Thread Boris Zhu
Hi,

In fact, if you check other projects like spark, all of them use \* instead
of \**

Best,
Boris

On Thu, Sep 26, 2019 at 12:34 PM Xiangdong Huang  wrote:

> Hi,
>
> Ah... It is really a big issue... using "/*" rather than "/**" for Apache
> Rat is correct.
> But it will change all files..
>
> Any suggestions about what is the time to do that?
>
> Best,
> ---
> Xiangdong Huang
> School of Software, Tsinghua University
>
>  黄向东
> 清华大学 软件学院
>
>
> Boris Zhu  于2019年9月26日周四 上午11:39写道:
>
> > Hi,
> >
> > Yes, I will do it as much as I can. I see many other Apache projects
> having
> > API docs like spark[1] and flink[2]. API docs are generated from java
> > comments in source code. For example,
> >
> >   /**
> >* constructor of CHUNK_GROUP_FOOTER.
> >*
> >* @param deviceID device ID
> >* @param dataSize data size
> >* @param numberOfChunks number of chunks
> >*/
> >
> > So the real thing to do is to perfect Java-style comments in the source
> > code. When I generate some JavaDoc, facing some problems. For instance,
> the
> > Apache license shouldn't be in Java-style comments, because JavaDoc tools
> > identified the Java-style comment and didn't skip the Apache license
> which
> > it should skip. I think a license should be in the block comment, and I
> > create a pr[3] to fix that.
> >
> > best,
> > Boris
> >
> > [1] https://spark.apache.org/docs/latest/api/java/index.html
> > [2]
> https://ci.apache.org/projects/flink/flink-docs-release-1.9/api/java/
> > [3] https://github.com/apache/incubator-iotdb/pull/420
> >
> > On Thu, Sep 26, 2019 at 10:36 AM Xiangdong Huang 
> > wrote:
> >
> > > Hi Boris,
> > >
> > > Are you interested in supplying the javadoc as possible as you can?
> > > I think some of committers can support help if you have questions when
> > > reading source codes..
> > >
> > > Best,
> > > ---
> > > Xiangdong Huang
> > > School of Software, Tsinghua University
> > >
> > >  黄向东
> > > 清华大学 软件学院
> > >
> > >
> > > Boris Zhu  于2019年9月25日周三 下午3:39写道:
> > >
> > > > Hi,
> > > >
> > > > The official site needs a JavaDoc API page to help users to use
> IoTDB.
> > I
> > > > deploy a simple JavaDoc API page (only for TsFile module)in my GitHub
> > > > pages[1].
> > > >
> > > > But there are still many problems when I use the JavaDoc tool to
> > generate
> > > > JavaDoc and many Java-style comments need to be perfected.
> > > >
> > > > When you use an IntelliJ idea, you can use the tool in Tools-Generate
> > > > JavaDoc...
> > > >
> > > > Also, open an issue[2]
> > > >
> > > > Best Regards,
> > > > Boris
> > > >
> > > > [1] https://genius-pig.github.io/
> > > > [2] https://issues.apache.org/jira/projects/IOTDB/issues/IOTDB-236
> > > >
> > >
> >
>


Re: [Documents] Add JavaDoc API for the official site

2019-09-25 Thread Jialin Qiao
Hi,

I think it's ok to fix that. The sooner, the better...

Just remember to merge master in other PRs.

Best,
--
Jialin Qiao
School of Software, Tsinghua University

乔嘉林
清华大学 软件学院

> -原始邮件-
> 发件人: "Xiangdong Huang" 
> 发送时间: 2019-09-26 12:34:00 (星期四)
> 收件人: dev@iotdb.apache.org
> 抄送: 
> 主题: Re: [Documents] Add JavaDoc API for the official site
> 
> Hi,
> 
> Ah... It is really a big issue... using "/*" rather than "/**" for Apache
> Rat is correct.
> But it will change all files..
> 
> Any suggestions about what is the time to do that?
> 
> Best,
> ---
> Xiangdong Huang
> School of Software, Tsinghua University
> 
>  黄向东
> 清华大学 软件学院
> 
> 
> Boris Zhu  于2019年9月26日周四 上午11:39写道:
> 
> > Hi,
> >
> > Yes, I will do it as much as I can. I see many other Apache projects having
> > API docs like spark[1] and flink[2]. API docs are generated from java
> > comments in source code. For example,
> >
> >   /**
> >* constructor of CHUNK_GROUP_FOOTER.
> >*
> >* @param deviceID device ID
> >* @param dataSize data size
> >* @param numberOfChunks number of chunks
> >*/
> >
> > So the real thing to do is to perfect Java-style comments in the source
> > code. When I generate some JavaDoc, facing some problems. For instance, the
> > Apache license shouldn't be in Java-style comments, because JavaDoc tools
> > identified the Java-style comment and didn't skip the Apache license which
> > it should skip. I think a license should be in the block comment, and I
> > create a pr[3] to fix that.
> >
> > best,
> > Boris
> >
> > [1] https://spark.apache.org/docs/latest/api/java/index.html
> > [2] https://ci.apache.org/projects/flink/flink-docs-release-1.9/api/java/
> > [3] https://github.com/apache/incubator-iotdb/pull/420
> >
> > On Thu, Sep 26, 2019 at 10:36 AM Xiangdong Huang 
> > wrote:
> >
> > > Hi Boris,
> > >
> > > Are you interested in supplying the javadoc as possible as you can?
> > > I think some of committers can support help if you have questions when
> > > reading source codes..
> > >
> > > Best,
> > > ---
> > > Xiangdong Huang
> > > School of Software, Tsinghua University
> > >
> > >  黄向东
> > > 清华大学 软件学院
> > >
> > >
> > > Boris Zhu  于2019年9月25日周三 下午3:39写道:
> > >
> > > > Hi,
> > > >
> > > > The official site needs a JavaDoc API page to help users to use IoTDB.
> > I
> > > > deploy a simple JavaDoc API page (only for TsFile module)in my GitHub
> > > > pages[1].
> > > >
> > > > But there are still many problems when I use the JavaDoc tool to
> > generate
> > > > JavaDoc and many Java-style comments need to be perfected.
> > > >
> > > > When you use an IntelliJ idea, you can use the tool in Tools-Generate
> > > > JavaDoc...
> > > >
> > > > Also, open an issue[2]
> > > >
> > > > Best Regards,
> > > > Boris
> > > >
> > > > [1] https://genius-pig.github.io/
> > > > [2] https://issues.apache.org/jira/projects/IOTDB/issues/IOTDB-236
> > > >
> > >
> >


Re: Release of 0.8.1

2019-09-25 Thread Xiangdong Huang
Hi,

I am working on it. Any else PRs that should be involved in 0.8.1?

Best,
---
Xiangdong Huang
School of Software, Tsinghua University

 黄向东
清华大学 软件学院


Jialin Qiao  于2019年9月17日周二 下午12:53写道:

> Hi,
>
> I went through recent PRs and list those related to bug-fix of 0.8.0.
>
> * bug in updating startTime and endTime in TsFileResource
> * https://github.com/apache/incubator-iotdb/pull/347
> * bug of Mix unsequence folder in sequence folder
> * https://github.com/apache/incubator-iotdb/pull/393
> * bug in tsfile batch write interface
> * https://github.com/apache/incubator-iotdb/pull/344
> * https://github.com/apache/incubator-iotdb/pull/385
> * bug in query with partition info of TsFile
> * https://github.com/apache/incubator-iotdb/pull/382
> * bug in tsfile module in example
> * https://github.com/apache/incubator-iotdb/pull/378
> * bug of the serialized size of String
> * https://github.com/apache/incubator-iotdb/pull/377
> * bug of docs (maven version)
> * https://github.com/apache/incubator-iotdb/pull/364
>
> The 0.8.1 could contain these commits.
>
> Best,
> --
> Jialin Qiao
> School of Software, Tsinghua University
>
> 乔嘉林
> 清华大学 软件学院
>
> > -原始邮件-
> > 发件人: "Jialin Qiao (Jira)" 
> > 发送时间: 2019-09-17 11:53:00 (星期二)
> > 收件人: dev@iotdb.apache.org
> > 抄送:
> > 主题: [jira] [Created] (IOTDB-216) Release of 0.8.1
> >
> > Jialin Qiao created IOTDB-216:
> > -
> >
> >  Summary: Release of 0.8.1
> >  Key: IOTDB-216
> >  URL: https://issues.apache.org/jira/browse/IOTDB-216
> >  Project: Apache IoTDB
> >   Issue Type: Task
> > Reporter: Jialin Qiao
> >
> >
> > This is a bug-fix version of 0.8.0
> >
> >
> >
> >
> >
> >
> >
> > --
> > This message was sent by Atlassian Jira
> > (v8.3.2#803003)
>


Re: [Documents] Add JavaDoc API for the official site

2019-09-25 Thread Xiangdong Huang
Hi,

Ah... It is really a big issue... using "/*" rather than "/**" for Apache
Rat is correct.
But it will change all files..

Any suggestions about what is the time to do that?

Best,
---
Xiangdong Huang
School of Software, Tsinghua University

 黄向东
清华大学 软件学院


Boris Zhu  于2019年9月26日周四 上午11:39写道:

> Hi,
>
> Yes, I will do it as much as I can. I see many other Apache projects having
> API docs like spark[1] and flink[2]. API docs are generated from java
> comments in source code. For example,
>
>   /**
>* constructor of CHUNK_GROUP_FOOTER.
>*
>* @param deviceID device ID
>* @param dataSize data size
>* @param numberOfChunks number of chunks
>*/
>
> So the real thing to do is to perfect Java-style comments in the source
> code. When I generate some JavaDoc, facing some problems. For instance, the
> Apache license shouldn't be in Java-style comments, because JavaDoc tools
> identified the Java-style comment and didn't skip the Apache license which
> it should skip. I think a license should be in the block comment, and I
> create a pr[3] to fix that.
>
> best,
> Boris
>
> [1] https://spark.apache.org/docs/latest/api/java/index.html
> [2] https://ci.apache.org/projects/flink/flink-docs-release-1.9/api/java/
> [3] https://github.com/apache/incubator-iotdb/pull/420
>
> On Thu, Sep 26, 2019 at 10:36 AM Xiangdong Huang 
> wrote:
>
> > Hi Boris,
> >
> > Are you interested in supplying the javadoc as possible as you can?
> > I think some of committers can support help if you have questions when
> > reading source codes..
> >
> > Best,
> > ---
> > Xiangdong Huang
> > School of Software, Tsinghua University
> >
> >  黄向东
> > 清华大学 软件学院
> >
> >
> > Boris Zhu  于2019年9月25日周三 下午3:39写道:
> >
> > > Hi,
> > >
> > > The official site needs a JavaDoc API page to help users to use IoTDB.
> I
> > > deploy a simple JavaDoc API page (only for TsFile module)in my GitHub
> > > pages[1].
> > >
> > > But there are still many problems when I use the JavaDoc tool to
> generate
> > > JavaDoc and many Java-style comments need to be perfected.
> > >
> > > When you use an IntelliJ idea, you can use the tool in Tools-Generate
> > > JavaDoc...
> > >
> > > Also, open an issue[2]
> > >
> > > Best Regards,
> > > Boris
> > >
> > > [1] https://genius-pig.github.io/
> > > [2] https://issues.apache.org/jira/projects/IOTDB/issues/IOTDB-236
> > >
> >
>


Re: [Documents] Add JavaDoc API for the official site

2019-09-25 Thread Boris Zhu
Hi,

Yes, I will do it as much as I can. I see many other Apache projects having
API docs like spark[1] and flink[2]. API docs are generated from java
comments in source code. For example,

  /**
   * constructor of CHUNK_GROUP_FOOTER.
   *
   * @param deviceID device ID
   * @param dataSize data size
   * @param numberOfChunks number of chunks
   */

So the real thing to do is to perfect Java-style comments in the source
code. When I generate some JavaDoc, facing some problems. For instance, the
Apache license shouldn't be in Java-style comments, because JavaDoc tools
identified the Java-style comment and didn't skip the Apache license which
it should skip. I think a license should be in the block comment, and I
create a pr[3] to fix that.

best,
Boris

[1] https://spark.apache.org/docs/latest/api/java/index.html
[2] https://ci.apache.org/projects/flink/flink-docs-release-1.9/api/java/
[3] https://github.com/apache/incubator-iotdb/pull/420

On Thu, Sep 26, 2019 at 10:36 AM Xiangdong Huang  wrote:

> Hi Boris,
>
> Are you interested in supplying the javadoc as possible as you can?
> I think some of committers can support help if you have questions when
> reading source codes..
>
> Best,
> ---
> Xiangdong Huang
> School of Software, Tsinghua University
>
>  黄向东
> 清华大学 软件学院
>
>
> Boris Zhu  于2019年9月25日周三 下午3:39写道:
>
> > Hi,
> >
> > The official site needs a JavaDoc API page to help users to use IoTDB. I
> > deploy a simple JavaDoc API page (only for TsFile module)in my GitHub
> > pages[1].
> >
> > But there are still many problems when I use the JavaDoc tool to generate
> > JavaDoc and many Java-style comments need to be perfected.
> >
> > When you use an IntelliJ idea, you can use the tool in Tools-Generate
> > JavaDoc...
> >
> > Also, open an issue[2]
> >
> > Best Regards,
> > Boris
> >
> > [1] https://genius-pig.github.io/
> > [2] https://issues.apache.org/jira/projects/IOTDB/issues/IOTDB-236
> >
>


Re: [Documents] Add JavaDoc API for the official site

2019-09-25 Thread Xiangdong Huang
Hi Boris,

Are you interested in supplying the javadoc as possible as you can?
I think some of committers can support help if you have questions when
reading source codes..

Best,
---
Xiangdong Huang
School of Software, Tsinghua University

 黄向东
清华大学 软件学院


Boris Zhu  于2019年9月25日周三 下午3:39写道:

> Hi,
>
> The official site needs a JavaDoc API page to help users to use IoTDB. I
> deploy a simple JavaDoc API page (only for TsFile module)in my GitHub
> pages[1].
>
> But there are still many problems when I use the JavaDoc tool to generate
> JavaDoc and many Java-style comments need to be perfected.
>
> When you use an IntelliJ idea, you can use the tool in Tools-Generate
> JavaDoc...
>
> Also, open an issue[2]
>
> Best Regards,
> Boris
>
> [1] https://genius-pig.github.io/
> [2] https://issues.apache.org/jira/projects/IOTDB/issues/IOTDB-236
>


[BUILD-FAILURE]: Job 'IoTDB Website [null] [69]'

2019-09-25 Thread Apache Jenkins Server
BUILD-FAILURE: Job 'IoTDB Website [null] [69]':

Check console output at "https://builds.apache.org/job/IoTDB%20Website/69/";>IoTDB Website [null] 
[69]"

[BUILD-FAILURE]: Job 'IoTDB Website [null] [70]'

2019-09-25 Thread Apache Jenkins Server
BUILD-FAILURE: Job 'IoTDB Website [null] [70]':

Check console output at "https://builds.apache.org/job/IoTDB%20Website/70/";>IoTDB Website [null] 
[70]"

[BUILD-FAILURE]: Job 'IoTDB Website [null] [68]'

2019-09-25 Thread Apache Jenkins Server
BUILD-FAILURE: Job 'IoTDB Website [null] [68]':

Check console output at "https://builds.apache.org/job/IoTDB%20Website/68/";>IoTDB Website [null] 
[68]"

[BUILD-STABLE]: Job 'IoTDB Website [null] [67]'

2019-09-25 Thread Apache Jenkins Server
BUILD-STABLE: Job 'IoTDB Website [null] [67]':

Is back to normal.

Solving jira problem (IOTDB-188) Delete storage group

2019-09-25 Thread thss15_yit
I have submitted the pull request of this issue [IOTDB-188]. 
The link of the pull request is 
https://github.com/apache/incubator-iotdb/pull/416
The link of the Jira issue is 
https://issues.apache.org/jira/projects/IOTDB/issues/IOTDB-188
Thanks for your checking.


Tao Yi

??????[jira] [Created] (IOTDB-241) Add sql query and nonQuery interfacein session

2019-09-25 Thread ??????????????????????
Hi~
I'm working on this issue




--  --
??: "Yuan Tian (Jira)";
: 2019??9??26??(??) 9:18
??: "dev";

: [jira] [Created] (IOTDB-241) Add sql query and nonQuery interfacein 
session



Kaifeng Xue created IOTDB-241:
-

 Summary: Add sql query and nonQuery interface in session
 Key: IOTDB-241
 URL: https://issues.apache.org/jira/browse/IOTDB-241
 Project: Apache IoTDB
  Issue Type: New Feature
Reporter: Kaifeng Xue


We need sql query and nonQuery interface in session



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

[jira] [Created] (IOTDB-241) Add sql query and nonQuery interface in session

2019-09-25 Thread Kaifeng Xue (Jira)
Kaifeng Xue created IOTDB-241:
-

 Summary: Add sql query and nonQuery interface in session
 Key: IOTDB-241
 URL: https://issues.apache.org/jira/browse/IOTDB-241
 Project: Apache IoTDB
  Issue Type: New Feature
Reporter: Kaifeng Xue


We need sql query and nonQuery interface in session



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


Re: 关于IoTDB时序数据库的一些使用相关问题

2019-09-25 Thread Xiangdong Huang
Hi,

> 我在github上找到了非sql形式的API样例,但同时有几点疑惑:
> 1.它必须使用0.9.0版本,0.9.0版本还没有发布,方便问下什么时候发布吗?

Non-SQL API (called session API) is introduced in 0.9. Now we are working
for publishing 0.8.1, after than, 0.9 will be published soon.

0.8.1一发布完,马上就会发0.9.

> 2.API是否支持批量写入

Of course.

支持

> 3.我安装的是0.8.0版本,在java代码中使用0.9.0版本是否会不兼容

0.9 and 0.8 are incompatible at the RPC layer.

是的,建议0.8服务器配0.8客户端,0.9配0.9.

> 4.在官方文档中没有找到集群的配置方式
According to our test, one server can support more than 10M points per
second writing and TBs of data.
The cluster mode is in progress. If you really want to try the cluster
mode, you can find a prototype at the cluster branch.
Or, now we have another simple cluster mode: using HDFS to store data
distributedly. You can enable the function if you are using the master
branch.

目前测试来看,一般来说单节点足够支撑应用。目前分布式正在开发。如果要体验,可以切换到cluster分支;另外,目前我们还提供了一个基于HDFS的简易分布式实现。


> 5.同时我在git上看到了对spark的支持,很感兴趣,但是也需要0.9.0版本支持

I think 0.8 version also supports spark.

0.8版本也支持 :D

If you have more questions, please comment them on the mail list~
更多问题,欢迎继续在邮件列表提问。

Best,


问心 <1551918...@qq.com> 于2019年9月25日周三 下午5:29写道:

> 您好,非常感谢您的的回复,我在github上找到了非sql形式的API样例,但同时有几点疑惑:
> 1.它必须使用0.9.0版本,0.9.0版本还没有发布,方便问下什么时候发布吗?
> 2.API是否支持批量写入
> 3.我安装的是0.8.0版本,在java代码中使用0.9.0版本是否会不兼容
> 4.在官方文档中没有找到集群的配置方式
> 5.同时我在git上看到了对spark的支持,很感兴趣,但是也需要0.9.0版本支持
>
> 以上是我在使用过程中遇到的问题,非常期待您的回信
> -- 原始邮件 --
> *发件人:* "hxd";
> *发送时间:* 2019年9月25日(星期三) 上午8:34
> *收件人:* "问心"<1551918...@qq.com>;"dev";
> *主题:* Re: 关于IoTDB时序数据库的一些使用相关问题
>
> Hi,
>
> You can get the JDBC document  from
> http://iotdb.apache.org/#/Documents/0.8.0/chap6/sec1 (click 切换到中文), and
> SQL from http://iotdb.apache.org/#/Documents/0.8.0/chap5/sec1.
> 你可以从上述网址找到JDBC和SQL的使用方法。
>
> You can also find more documents from the doc folder under the source
> codes (from github), e.g., session API,
> https://github.com/apache/incubator-iotdb/tree/master/docs/Documentation-CHN/UserGuide/7-Session%20API
> 你也可以从github的源码库中找到更多文档,如session API(非SQL形式)
>
> Please do not hesitate to tell us if there is more question.
> 如果有问题,请随时在社区提问~
>
> Best,
>
> 问心 <1551918...@qq.com> 于2019年9月24日周二 下午6:39写道:
>
>> 您好,目前就如何向IoTDB写数据存在一些疑惑,在官网没有找到JDBC,能否发送一份使用文档,或者jdbc,非常感谢您
>>
>


[jira] [Created] (IOTDB-240) query problem for iotdb filter

2019-09-25 Thread EJTTianyu (Jira)
EJTTianyu created IOTDB-240:
---

 Summary: query problem for iotdb filter
 Key: IOTDB-240
 URL: https://issues.apache.org/jira/browse/IOTDB-240
 Project: Apache IoTDB
  Issue Type: Bug
Reporter: EJTTianyu


When querying a timeseries that does not exist, iotdb shows different behavior 
for SQL with or without filter.
After starting a new iotdb instance, The following steps in iotdb-client below 
could reproduce the problem.
Step 1: set storage group to root.demo
Step 2: CREATE TIMESERIES root.demo.ZT31 WITH DATATYPE=INT64, ENCODING=RLE
Step 3:insert into root.demo(timestamp,ZT31) values(1,1)
when using sql:
1.select ZT1 from root.demo
  iotdb-client responds with message "Msg: Execute statement error: do not 
select any existing series"
2.select ZT1,ZT31 from root.demo
  iotdb-client responds with
+---+--+
|   Time|root.demo.ZT31|
+---+--+
|  1970-01-01T08:00:00.001+08:00| 1|
+---+--+
3.select ZT1,ZT31 from root.demo where ZT1>0
 iotdb-client responds with message "Msg: Execute statement error: Index: 0, 
Size: 0"

Timeseries ZT1 does not exist in condition 2 and condition 3. However, without 
using ZT1 as filter to query  multiple sensors(at least one exists), iotdb 
could respond with datapoints. When using ZT1 as filter, the returned msg 
confused users.

In my opinion, both condition 2 and 3 should respond with message "Msg: Execute 
statement error: do not select any existing series". Or condition 2 responds 
with datapoints, condition 3 responds with "Msg: Execute statement error: do 
not select any existing series".




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (IOTDB-239) Add interface for showing devices

2019-09-25 Thread Zesong Sun (Jira)
Zesong Sun created IOTDB-239:


 Summary: Add interface for showing devices
 Key: IOTDB-239
 URL: https://issues.apache.org/jira/browse/IOTDB-239
 Project: Apache IoTDB
  Issue Type: New Feature
Reporter: Zesong Sun


Create an interface for showing all the devices.

USAGE: `SHOW DEVICES`.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (IOTDB-238) Remove TS_SessionHandle in TSExecuteStatementReq

2019-09-25 Thread Jialin Qiao (Jira)
Jialin Qiao created IOTDB-238:
-

 Summary: Remove TS_SessionHandle in TSExecuteStatementReq
 Key: IOTDB-238
 URL: https://issues.apache.org/jira/browse/IOTDB-238
 Project: Apache IoTDB
  Issue Type: Improvement
Reporter: Jialin Qiao


When we execute a sql statement, the client sends a TSExecuteStatementReq to 
the server. The TSExecuteStatementReq includes a TS_SessionHandle and a sql in 
String. However, the TS_SessionHandle has never been used. We can remove this. 
Then, the TSExecuteStatementReq struct can be simplified to a string.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (IOTDB-237) client fetches all data in spite of maxPrintRowCount

2019-09-25 Thread Lei Rui (Jira)
Lei Rui created IOTDB-237:
-

 Summary: client fetches all data in spite of maxPrintRowCount
 Key: IOTDB-237
 URL: https://issues.apache.org/jira/browse/IOTDB-237
 Project: Apache IoTDB
  Issue Type: Improvement
Reporter: Lei Rui






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[Documents] Add JavaDoc API for the official site

2019-09-25 Thread Boris Zhu
Hi,

The official site needs a JavaDoc API page to help users to use IoTDB. I
deploy a simple JavaDoc API page (only for TsFile module)in my GitHub
pages[1].

But there are still many problems when I use the JavaDoc tool to generate
JavaDoc and many Java-style comments need to be perfected.

When you use an IntelliJ idea, you can use the tool in Tools-Generate
JavaDoc...

Also, open an issue[2]

Best Regards,
Boris

[1] https://genius-pig.github.io/
[2] https://issues.apache.org/jira/projects/IOTDB/issues/IOTDB-236


[jira] [Created] (IOTDB-236) Add JavaDoc API for the official site

2019-09-25 Thread Jira
朱天赐 created IOTDB-236:
-

 Summary: Add JavaDoc API for the official site
 Key: IOTDB-236
 URL: https://issues.apache.org/jira/browse/IOTDB-236
 Project: Apache IoTDB
  Issue Type: New Feature
Reporter: 朱天赐


The official site needs a JavaDoc API  page to help users to use IoTDB. I 
deploy a simple JavaDoc API page (only for TsFile module)in my GitHub pages. 
[https://genius-pig.github.io/ |https://genius-pig.github.io/]

But there are still many problems when I use the JavaDoc tool to generate 
JavaDoc and many Java-style comments need to be perfected.

When you use an IntelliJ idea, you can use the tool in Tools-Generate JavaDoc...

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)