Member since
05-17-2016
190
Posts
46
Kudos Received
11
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1386 | 09-07-2017 06:24 PM | |
1787 | 02-24-2017 06:33 AM | |
2574 | 02-10-2017 09:18 PM | |
7058 | 01-11-2017 08:55 PM | |
4697 | 12-15-2016 06:16 PM |
03-21-2017
07:40 PM
Thanks @Ancil McBarnett. Appreciate it.
... View more
03-21-2017
07:08 PM
Sample create and insert as below -
create table t1(date_column string, c1 int, c2 int, c3 int, c4 int, c5 int);
insert into t1 values("d1",1,1,1,1,1);
insert into t1 (date_column,c1) values ("d1",1);
insert into t1 (date_column,c1) values ("d2",1);
insert into t1 values("d2",1,1,1,1,1);
I was expecting the below query to return 0 for d1 and d2, unfortunately got an empty result set.
select count(*) from t1 where c1 is null group by date_column;
... View more
03-21-2017
06:52 PM
1 Kudo
Hello All, I am trying to group all records for a table by "date" which is also a column. I need to count the number of null values for each column in the table grouped by date. All the columns are of numeric type double/int. Below is a sample input/output requirement
Simple select query that helps accomplish this requirement is
select date,count(*) as c1_null from t1 where c1 is null group by date I chain this select pattern for every c'i' columns. This works fine only if every value for a given column is null and returns an empty result set if at least one column is non null. What is a way to accomplish this? Any help appreciated. Thanks
-arun
... View more
Labels:
- Labels:
-
Apache Hive
02-24-2017
06:33 AM
1 Kudo
If it is a running log, use Tail File
https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.TailFile/
... View more
02-21-2017
02:04 PM
Thanks @Andy LoPresto. This helps.
... View more
02-20-2017
10:07 PM
Hi @Andy LoPresto : I was asking about the dynamic properties set for the processor. Are they treated the same as attributes? I haven't tried accessing them by the getAttribute, will give it a try.
... View more
02-20-2017
09:37 PM
1 Kudo
Hi All,
I am using a JavaScript Execute Script Processor. However, I am missing a document that details on how to access the dynamic properties set on the processor within the script body.
Any help appreciated.
Thanks
-ak-
... View more
Labels:
- Labels:
-
Apache NiFi
02-17-2017
07:04 PM
You can start with a feature walk through on the docs page here
http://nifi.apache.org/docs/nifi-docs/html/overview.html#high-level-overview-of-key-nifi-features
Let us know if you need more help.
... View more
02-10-2017
09:18 PM
Use https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.EvaluateJsonPath/
$.eventFields should give you the content of the eventFields as a single text
... View more