Member since
07-14-2017
99
Posts
5
Kudos Received
4
Solutions
02-07-2019
04:04 PM
@Shu can you please help me
... View more
02-06-2019
10:29 AM
Hi All, I have a string String:
some text with an ip 111.111.111.111 and a decimal 11.2323232 and some text here and then an int 1 and then some HTTP/1.1 with a 503 request and then another ip 222.222.222.222 and some imaginary 999.999.999.999 I want to output all the ip addresses in comma saperated. I tried the below select regexp_replace(regexp_replace(String,'[^(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})]',' '),'\\s+',',');
+------------------------------------------------------------------------+--+
| _c0 |
+------------------------------------------------------------------------+--+
| ,111.111.111.111,11.2323232,1,1.1,503,222.222.222.222,999.999.999.999 |
+------------------------------------------------------------------------+--+
Expected output is : 111.111.111.111,222.222.222.222,999.999.999 Could you please help me
... View more
Labels:
- Labels:
-
Apache Hive
08-31-2017
12:02 PM
@Bryan Bende Thanks for the explanation. I have a usecase where syslog listener has to receive 10M messages/sec. I am worried if this can be achieved? because the processing of those messages takes quite good amount of time. Since I have to extract data out of each messages and store it to hdfs in csv, I use extracttext->replacetext->routeoncontent->puthdfs. Can you suggest me if 10Million msg/sec will be achieved.
... View more