Impala get current time

0 votes
Hi. I am new to impala and I want to create a timestamp for a query. How can I get the current time and data using Impala?
Jun 6, 2019 in Big Data Hadoop by Yogi
141 views

1 answer to this question.

0 votes

You can get the current time using the below query:

select now()

The output will be something like this:

+-------------------------------+
| now()                         |
+-------------------------------+
| 2019-06-06 16:44:00.429109000 |
+-------------------------------+
answered Jun 6, 2019 by Raman

Related Questions In Big Data Hadoop

0 votes
1 answer

How to get started with Hadoop?

Well, hadoop is actually a framework that ...READ MORE

answered Mar 21, 2018 in Big Data Hadoop by coldcode
• 2,070 points
395 views
0 votes
1 answer

How Impala is fast compared to Hive in terms of query response?

Impala provides faster response as it uses MPP(massively ...READ MORE

answered Mar 21, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
899 views
0 votes
1 answer

How can I get the respective Bitcoin value for an input in USD when using c#

Simply make call to server and parse ...READ MORE

answered Mar 25, 2018 in Big Data Hadoop by charlie_brown
• 7,780 points
276 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
7,400 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
1,205 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
55,050 views
–1 vote
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,390 points
2,790 views
0 votes
1 answer

Impala: Add months to current time

You can add the months using the add_months method ...READ MORE

answered Jun 6, 2019 in Big Data Hadoop by John
478 views
0 votes
1 answer

How to subtract month from Impala time stamp?

You don't need another method, you can ...READ MORE

answered Jun 6, 2019 in Big Data Hadoop by Tina
747 views