Re: Query Performance Issue : Group By and Distinct and load on reducer

2016-07-18 Thread @Sanjiv Singh
would be good if you can share with him. Any help really appreciated. thanks much again Regards Sanjiv Singh Mob : +091 9990-447-339 On Fri, Jul 1, 2016 at 2:06 PM, Markovitz, Dudu wrote: > My pleasure. > > > > Just to make clear – > > The version with the non-consecuti

Re: Query Performance Issue : Group By and Distinct and load on reducer

2016-07-01 Thread @Sanjiv Singh
Thanks, really appreciate. I will try this. will respond with results. Regards Sanjiv Singh Mob : +091 9990-447-339 On Fri, Jul 1, 2016 at 6:50 AM, Markovitz, Dudu wrote: > 3. > > This is a working code for consecutive values. > > MyColumn should be a column (or list of col

Re: Query Performance Issue : Group By and Distinct and load on reducer

2016-06-29 Thread @Sanjiv Singh
ror while compiling statement: FAILED: SemanticException End of a > WindowFrame cannot be UNBOUNDED PRECEDING (state=42000,code=40000) Regards Sanjiv Singh Mob : +091 9990-447-339 On Tue, Jun 28, 2016 at 6:16 PM, @Sanjiv Singh wrote: > thanks a lot. > let me give it a try. > &g

Re: Query Performance Issue : Group By and Distinct and load on reducer

2016-06-28 Thread @Sanjiv Singh
thanks a lot. let me give it a try. Regards Sanjiv Singh Mob : +091 9990-447-339 On Tue, Jun 28, 2016 at 5:32 PM, Markovitz, Dudu wrote: > There’s a distributed algorithm for windows function that is based on the > ORDER BY clause rather than the PARTITION BY clause. > > I

Re: Query Performance Issue : Group By and Distinct and load on reducer

2016-06-28 Thread @Sanjiv Singh
ETL_ROW_ID is to be consecutive number. I need to check if having unique number would not break any logic. Considering unique number for ETL_ROW_ID column, what are optimum options available? What id it has to be consecutive number only? Regards Sanjiv Singh Mob : +091 9990-447-339 On Tue

Re: Query Performance Issue : Group By and Distinct and load on reducer

2016-06-28 Thread @Sanjiv Singh
Hi Dudu, You are correct ...ROW_NUMBER() is main culprit. ROW_NUMBER() OVER Not Fast Enough With Large Result Set, any good solution? Regards Sanjiv Singh Mob : +091 9990-447-339 On Tue, Jun 28, 2016 at 3:42 PM, Markovitz, Dudu wrote: > The row_number operation seems to be ske

Query Performance Issue : Group By and Distinct and load on reducer

2016-06-28 Thread @Sanjiv Singh
/hive/warehouse/PRD_DB.db/INTER_ETL/12_0 | | -rwxrwxrwx 3 Z56034 hdfs 1970930771 2016-06-28 10:24 /apps/hive/warehouse/PRD_DB.db/INTER_ETL/13_0 | | -rwxrwxrwx 3 Z56034 hdfs 192820628 2016-06-28 10:23 /apps/hive/warehouse/PRD_DB.db/INTER_ETL/14_0 | ++--+ 'numFiles'='15', 'numRows'='108363614', Regards Sanjiv Singh Mob : +091 9990-447-339

Re: Optimize Hive Query

2016-06-26 Thread @Sanjiv Singh
enabled with two workers. why compaction not happened ? will check metastore logs. I have too many ACID tables on hive and how many worker should be configured ? currently it is 2. Thanks a lot once again. Regards Sanjiv Singh Mob : +091 9990-447-339 On Fri, Jun 24, 2016 at 9:14 PM, @Sanjiv Singh

Re: Optimize Hive Query

2016-06-24 Thread @Sanjiv Singh
Thanks Gopal for your inputs. Let me run compaction explicitly on table then see how query works. Let Regards Sanjiv Singh Mob : +091 9990-447-339 On Fri, Jun 24, 2016 at 7:53 PM, Gopal Vijayaraghavan wrote: > > > Yes for this tables, ACID enabled. it has only 256 files

Re: Optimize Hive Query

2016-06-24 Thread @Sanjiv Singh
+ 257 rows selected (0.065 seconds) Regards Sanjiv Singh Mob : +091 9990-447-339 On Fri, Jun 24, 2016 at 6:16 PM, Gopal Vijayaraghavan wrote: > > > > Please help me on thislet me know you need other info. > > Are the ORC tables fully compacted? Looks like you're running a v

Re: Optimize Hive Query

2016-06-24 Thread @Sanjiv Singh
Hi Vijay, Please help me on thislet me know you need other info. Regards Sanjiv Singh Mob : +091 9990-447-339 On Thu, Jun 23, 2016 at 12:41 PM, @Sanjiv Singh wrote: > Hi Gopal, > > I am using Tez as execution engine

Re: Optimize Hive Query

2016-06-24 Thread @Sanjiv Singh
Hi Mich, I tried the same without any luck. I don't see any improvement. Regards Sanjiv Singh Mob : +091 9990-447-339 On Thu, Jun 23, 2016 at 5:38 PM, @Sanjiv Singh wrote: > Thanks Mich. for your inputs. > > Let me try that as well. Will post response. > > >

Re: Optimize Hive Query

2016-06-23 Thread @Sanjiv Singh
Thanks Mich. for your inputs. Let me try that as well. Will post response.

Re: Optimize Hive Query

2016-06-23 Thread @Sanjiv Singh
420 1361 > 16 8497624 1361 > 16 8987980 1361 > 16 8234751 1361 > 16 8389490 1361 > 18 9975575 1361 > 16 8026536 1361 > 16 8790618 1361 > 16 9846791 1361 > 16 8363833 1361 > 16 9025525 1361 > 16 9241297 1361 > 16 8712487 1361 > 16 8692003 1361 > 16 9316523 1361

Re: Optimize Hive Query

2016-06-23 Thread @Sanjiv Singh
| +---+---+---+--+ Regards Sanjiv Singh Mob : +091 9990-447-339 On Thu, Jun 23, 2016 at 12:47 PM, Mich Talebzadeh wrote: > Do you also have the output from > > desc formatted tuning_dd_key > > and send the output please? > > Dr Mich Talebzadeh > &

Re: Optimize Hive Query

2016-06-23 Thread @Sanjiv Singh
| |ACID table:true | |alias:tuning_dd_key | |Statistics:Num rows: 6357592675 Data size: 54076899328 Basic stats: COMPLETE Colum

Optimize Hive Query

2016-06-22 Thread @Sanjiv Singh
t_ev_st_dt ) IS NULL OR a_z_key <> LAG( a_z_key , 1 , -999 ) > OVER ( PARTITION BY m_d_key , sb_gu_key ORDER BY t_ev_st_dt ) THEN 'S' > ELSE NULL END AS ST_FLAG > FROM `PRDDB`.tuning_dd_key ; *More info :* number of distinct value in column m_d_key : 29 > num

Re: loading in ORC from big compressed file

2016-06-22 Thread @Sanjiv Singh
Thanks Marcin, I worked I uncompressed file and then loaded file in hive table. Now its been quick, few mins. Regards Sanjiv Singh Mob : +091 9990-447-339 On Wed, Jun 22, 2016 at 7:44 AM, Jörn Franke wrote: > > > Marcin is correct : either split up the gzip files in smaller

loading in ORC from big compressed file

2016-06-21 Thread @Sanjiv Singh
ving ORC table load. Regards Sanjiv Singh Mob : +091 9990-447-339

Re: Spark SQL is not returning records for HIVE transactional tables on HDP

2016-03-13 Thread @Sanjiv Singh
Hi All, We are using for Spark SQL : - Hive :1.2.1 - Spark : 1.3.1 - Hadoop :2.7.1 Let me know if needs other details to debug the issue. Regards Sanjiv Singh Mob : +091 9990-447-339 On Sun, Mar 13, 2016 at 1:07 AM, Mich Talebzadeh wrote: > Hi, > > Thanks for the inp

Spark SQL is not returning records for HIVE transactional tables on HDP

2016-03-12 Thread @Sanjiv Singh
ive> insert into foo values(20); scala> sqlContext.table("default.foo").count* // Gives 2 , no compaction required.* Regards Sanjiv Singh Mob : +091 9990-447-339

Re: Spark SQL is not returning records for hive bucketed tables on HDP

2016-02-23 Thread @Sanjiv Singh
after compaction, Spark SQL start recognizing delta files. Let know me if needed other details to get root cause. Regards Sanjiv Singh Mob : +091 9990-447-339 On Tue, Feb 23, 2016 at 2:28 PM, Varadharajan Mukundan wrote: > That's interesting. I'm not sure why first compaction is neede

Re: Spark SQL is not returning records for hive bucketed tables on HDP

2016-02-23 Thread @Sanjiv Singh
e data is still in delta files Now run major compaction: hive> ALTER TABLE default.foo COMPACT 'MAJOR'; scala> sqlContext.table("default.foo").count // Gives 1 hive> insert into foo values(20); scala> sqlContext.table("default.foo").count* // Gives 2

Re: Spark SQL is not returning records for hive bucketed tables on HDP

2016-02-22 Thread @Sanjiv Singh
unt(*) from mytable ; +--+ | _c0 | +--+ | 44 | +--+ 1 row selected (1.196 seconds) *HIVE JDBC :* 1: jdbc:hive2://myhost:1> select count(*) from mytable ; +--+--+ | _c0 | +--+--+ | 44 | +--+--+ 1 row selected (0.121 seconds) Regards Sanjiv Singh Mob : +091 9

Re: Spark SQL is not returning records for hive bucketed tables on HDP

2016-02-22 Thread @Sanjiv Singh
db.db/mytable/delta_086_086 drwxr-xr-x - root hdfs 0 2016-02-23 11:41 /apps/hive/warehouse/mydb.db/mytable/delta_087_087 Regards Sanjiv Singh Mob : +091 9990-447-339 On Mon, Feb 22, 2016 at 1:38 PM, Varadharajan Mukundan wrote: > Actually the auto compaction if enabled is

Re: Spark SQL is not returning records for hive bucketed tables on HDP

2016-02-21 Thread @Sanjiv Singh
Documentation is upset sometimes. Regards Sanjiv Singh Mob : +091 9990-447-339 On Mon, Feb 22, 2016 at 9:49 AM, Varadharajan Mukundan wrote: > Yes, I was burned down by this issue couple of weeks back. This also means > that after every insert job, compaction should be run to access ne

Re: Spark SQL is not returning records for hive bucketed tables on HDP

2016-02-21 Thread @Sanjiv Singh
#x27;root', 'last_modified_time'='1455859079', 'numFiles'='37', 'numRows'='3', 'rawDataSize'='0', 'totalSize'='11383', 'transactional'='true', 'tran

Spark SQL is not returning records for hive bucketed tables on HDP

2016-02-21 Thread @Sanjiv Singh
is working on plain Apache setup. Let me know if needs other details. Regards Sanjiv Singh Mob : +091 9990-447-339

Re: Column data mismatch after join !!!

2016-01-11 Thread @Sanjiv Singh
My case is very opposite to below JIRAs as in my case , using subquery giving correct result ...but using original table giving mismatched column value. https://issues.apache.org/jira/browse/HIVE-9613 https://issues.apache.org/jira/browse/HIVE-9327 Regards Sanjiv Singh Mob : +091 9990-447

HiveException: Unexpected exception: org.apache.hadoop.io.Text cannot be cast to org.apache.hadoop.io.IntWritable

2016-01-11 Thread @Sanjiv Singh
at org.apache.hadoop.hive.ql.exec.FileSinkOperator.process(FileSinkOperator.java:720) at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:837) at org.apache.hadoop.hive.ql.exec.SelectOperator.process(SelectOperator.java:88) at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:837) at org.apache.hadoop.hive.ql.exec.CommonJoinOperator.internalForward(CommonJoinOperator.java:644) at org.apache.hadoop.hive.ql.exec.CommonJoinOperator.genUniqueJoinObject(CommonJoinOperator.java:657) at org.apache.hadoop.hive.ql.exec.CommonJoinOperator.genUniqueJoinObject(CommonJoinOperator.java:660) at org.apache.hadoop.hive.ql.exec.CommonJoinOperator.checkAndGenObject(CommonJoinOperator.java:756) at org.apache.hadoop.hive.ql.exec.MapJoinOperator.process(MapJoinOperator.java:414) ... 13 more Regards Sanjiv Singh Mob : +091 9990-447-339

Re: Column data mismatch after join !!!

2016-01-10 Thread @Sanjiv Singh
Adding to that Surprisingly it is giving correct result if i use derived tables rather than original tables; changes query : *select *from ( select * from T1 ) aLEFT OUTER JOIN ( select * from T2) bON a.t1c2 = b.t2c1;* Regards Sanjiv Singh Mob : +091 9990-447-339 On Mon, Jan 11

Re: Column data mismatch after join !!!

2016-01-10 Thread @Sanjiv Singh
Any help on this ? Regards Sanjiv Singh Mob : +091 9990-447-339 On Sat, Jan 9, 2016 at 3:42 PM, @Sanjiv Singh wrote: > Hi All, > > I am facing strange behaviour as explained below. I have tow hive table > T1 and T2 , joined with LEFT OUTER JOIN ..I am getting strange val

HIVE : LEFT OUTER JOIN + NON-EQUI JOIN

2016-01-09 Thread @Sanjiv Singh
t get same result on hive. Can you please help me on this to identify this issue and get query working on hive with same result set. Let me know you need other details. Regards Sanjiv Singh Mob : +091 9990-447-339

Column data mismatch after join !!!

2016-01-09 Thread @Sanjiv Singh
401435 4400466 4401425 4400416 5 51 Regards Sanjiv Singh Mob : +091 9990-447-339

Re: Hotels.com

2015-11-30 Thread @Sanjiv Singh
Regards Sanjiv Singh Mob : +091 9990-447-339 On Mon, Nov 30, 2015 at 1:16 PM, Amrit Jangid wrote: > ?? > > On Mon, Nov 30, 2015 at 11:56 AM, Roshini Johri > wrote: > >> [image: Inline image 2] >> >> Roshini Johri >> >> [image: Inli

Re: [ANNOUNCE] New Hive PMC Chair - Ashutosh Chauhan

2015-10-04 Thread @Sanjiv Singh
Congrats Ashutosh !!! Regards Sanjiv Singh Mob : +091 9990-447-339 On Thu, Sep 17, 2015 at 1:09 AM, Carl Steinbach wrote: > I am very happy to announce that Ashutosh Chauhan is taking over as the > new VP of the Apache Hive project. Ashutosh has been a longtime contributor > to Hiv

Error while executing hive Query : org.apache.hadoop.hive.serde2.io.HiveDecimalWritable cannot be cast to org.apache.hadoop.io.IntWritable

2015-09-22 Thread @Sanjiv Singh
ate_dim.d_current_year *2452538KDMGFCAA2002-09-201232 5360412 20025920320024125360Friday N 2002Q3NY2452761245251924524472452173NN NNN* 2431208IOIBFCAA 1944-04-27531 2313178 19444 427219441782313Thursday N 1944Q2NN2431272243118224311172430842NN NNN 2456494OKLHFCAA 2013-07-2013625925455 2013 6720320134555925Saturday N 2013Q3NY2456655245647524564032456129NN NNN 2481780EHONFCAA 2082-10-1221939537732 20821101242082732 9537Monday N 2082Q4NN2482041248176924816882481415NN NNN Regards Sanjiv Singh Mob : +091 9990-447-339

Re: Hive Query failing !!!

2015-09-21 Thread @Sanjiv Singh
Nitin, Following setting already there at HIVE. set hive.exec.mode.local.auto=false; Surprisingly , when it did following setting , it started working set hive.auto.convert.join=true; can you please help me understand , what had happened ? Regards Sanjiv Singh Mob : +091 9990-447-339

Hive Query failing !!!

2015-09-21 Thread @Sanjiv Singh
lect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.hadoop.util.RunJar.run(RunJar.java:221) at org.apache.hadoop.util.RunJar.main(RunJar.java:136) Regards Sanjiv Singh Mob : +091 9990-447-339

Re: Hive Update : Null Pointer Exception while using If statement

2015-07-24 Thread @Sanjiv Singh
What is the type of employee.id ? it is integer , then change insert statement to : insert overwrite table employee_incr select employee.id,employee.ename,if( employee.id= 1 ,12,employee.id ) as employee.id from employee; Regards Sanjiv Singh Mob : +091 9990-447-339 On Fri, Jul 24, 2015 at 11

Re: EXPORTing multiple partitions

2015-06-26 Thread @Sanjiv Singh
What about this : create view foo_copy_partition AS select * from foo where id in (1,2,3); export table foo_copy_partition to ‘path’; drop view foo_copy_partition ; Regards Sanjiv Singh Mob : +091 9990-447-339 On Fri, Jun 26, 2015 at 7:40 AM, Xuefu Zhang wrote: > Hi Brian, > &g

Re: Keys in Hive

2015-06-23 Thread @Sanjiv Singh
lid syntax, refer doc : https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-Create/Drop/TruncateTable Regards Sanjiv Singh Mob : +091 9990-447-339 On Tue, Jun 2, 2015 at 7:09 PM, Prem Yadav wrote: > I believe there is support for primary key which is basic

Re: HBase and Hive integration

2015-06-22 Thread @Sanjiv Singh
Hi Buntu, Hive config to provide zookeeper quorum for the HBase cluster --hiveconf hbase.zookeeper.quorum=## Regards Sanjiv Singh Mob : +091 9990-447-339 On Fri, Jun 12, 2015 at 10:04 PM, Buntu Dev wrote: > Thanks Nick for the write up. It was quite helpful for a newbie like

Re: Left function

2015-06-22 Thread @Sanjiv Singh
Or You can wrrite UDF to avail LEFT function in Hive. Follow : http://snowplowanalytics.com/blog/2013/02/08/writing-hive-udfs-and-serdes/ Regards Sanjiv Singh Mob : +091 9990-447-339 On Tue, Jun 16, 2015 at 3:13 PM, Nitin Pawar wrote: > try using substr function > > On Tue, Jun 16

Re: hive cbo calciteplanner

2015-06-22 Thread @Sanjiv Singh
+ Dev Regards Sanjiv Singh Mob : +091 9990-447-339 On Wed, Jun 17, 2015 at 6:42 AM, wangzhenhua (G) wrote: > Hi all, > > I'm reading the source code of Hive cbo (CalcaitePlanner), but I find it > hard to follow. > Listed below are some of the questions: > 1. What

Re: Hive counters for records read and written

2015-06-22 Thread @Sanjiv Singh
+ Dev Regards Sanjiv Singh Mob : +091 9990-447-339 On Wed, Jun 17, 2015 at 7:46 PM, Hemanth Meka wrote: > Hi, > > > I can see that two new counters have been added for hive > (RECORDS_IN/RECORDS_OUT) in hive 0.14. > > > Prior to this release which counters

Re: Query Timeout

2015-06-22 Thread @Sanjiv Singh
Hi Ibrar What is the value given for --hiveconf *hbase.master*=# OR --hiveconf *hbase.zookeeper.quorum*= It seems from the error that HBase Server configuration are not correct. Regards Sanjiv Singh Mob : +091 9990-447-339 On Wed, Jun 17, 2015 at 4:31 PM, Ibrar Ahmed

Error using UNION ALL operator on tables of different storage format !!!

2015-06-18 Thread @Sanjiv Singh
ob Submission failed with exception 'java.lang.NullPointerException(null)' FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask Regards Sanjiv Singh Mob : +091 9990-447-339

Re: Re: join on different data type

2015-05-06 Thread @Sanjiv Singh
Also. Refer section "*Allowed Implicit Conversions*" on https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Types It had given a try on joining tables on STRING and INT column , it should work through implicit conversions. Regards Sanjiv Singh Mob : +091 9990-447-339

Re: Get HIVE INFO & FAQ

2015-04-27 Thread @Sanjiv Singh
??? Regards Sanjiv Singh Mob : +091 9990-447-339 On Mon, Apr 27, 2015 at 11:30 AM, Fun <401299...@qq.com> wrote: > Get HIVE INFO & FAQ

Join Error

2015-04-26 Thread @Sanjiv Singh
.hadoop.hive.ql.exec.SelectOperator.processOp(SelectOperator.java:84) at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:815) at org.apache.hadoop.hive.ql.exec.FilterOperator.processOp(FilterOperator.java:120) at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:815) at org.apache.hado

Re: [ANNOUNCE] New Hive Committer - Mithun Radhakrishnan

2015-04-15 Thread @Sanjiv Singh
Congratulations !!! Regards Sanjiv Singh Mob : +091 9990-447-339 On Wed, Apr 15, 2015 at 11:47 PM, Sergey Shelukhin wrote: > Congrats! > > From: , Cheng A > Reply-To: "user@hive.apache.org" > Date: Tuesday, April 14, 2015 at 18:03 > To: "user@hive.ap

GROUPING() in hive

2015-04-11 Thread @Sanjiv Singh
ble in HIVE , but with different syntax i.e. *fact_1_id, fact_2_id WITH CUBE *. but form documentation, GROUPING() is not available in HIVE. Please help me if GROUPING() function is available in HIVE. or How can I make query running on HIVE? Regards Sanjiv Singh Mob : +091 9990-447-339

Re: A simple insert stuck in hive

2015-04-07 Thread @Sanjiv Singh
. - SHOW LOCKS ; Regards, Sanjiv Singh Regards Sanjiv Singh Mob : +091 9990-447-339 On Wed, Apr 8, 2015 at 2:39 AM, Mich Talebzadeh wrote: > Hi, > > > > Today I have noticed the following issue. > > > > A simple insert into a table is sting there throwing the followin

Re: Concurrency issue, Setting hive.txn.manager to "org.apache.hadoop.hive.ql.lockmgr.DbTxnManager"

2015-04-06 Thread @Sanjiv Singh
Not sure ..It should work Try adding below configuration and then check.. hive.in.test true Regards Sanjiv Singh Mob : +091 9990-447-339 On Mon, Apr 6, 2015 at 7:21 PM, Mich Talebzadeh wrote: > Hi, > > > > I turned on concurrency for hive for DML with settings in h

Re: Is it possible to do a LEFT JOIN LATERAL in Hive?

2015-04-05 Thread @Sanjiv Singh
things and achieve the same in hive. On Apr 5, 2015 3:55 PM, "@Sanjiv Singh" wrote: > -- create table lhs > > create table lhs ( > subject_id int, > date_time BIGINT > ); > > -- insert some records in table lhs , named insertion will not work > in case o

Re: Is it possible to do a LEFT JOIN LATERAL in Hive?

2015-04-05 Thread @Sanjiv Singh
time and subject_id = lhs.subject_id ) rhs1 ON true; > >—results: >subject_id;date_time;val_sum;ecnt >1;1000;1;1 >1;1100;6;3 >1;2000;10;4 >2;1002;60;3 >2;1998;60;3 > > > -- Regards Sanjiv Singh Mob : +091 9990-447-339

Re: CamelCase using InitCap Function in Hive 0.13

2015-04-01 Thread @Sanjiv Singh
Available in build 1.1.0 <https://issues.apache.org/jira/browse/HIVE/fixforversion/12329363> JIRA : https://issues.apache.org/jira/browse/HIVE-3405 Regards Sanjiv Singh Mob : +091 9990-447-339 On Wed, Apr 1, 2015 at 6:24 PM, vivek veeramani wrote: > Hi, > > I'm a re

Re: rename a database

2015-03-27 Thread @Sanjiv Singh
Singh Regards Sanjiv Singh Mob : +091 9990-447-339 On Fri, Mar 27, 2015 at 9:31 PM, Dr Mich Talebzadeh wrote: > > yep it can can happen in any server hosting a database or schema. > > I believe you will need to rename the database directory underr hive > warehouse ditectory .db. &

Re: External Table without Location

2015-03-27 Thread @Sanjiv Singh
those things. 5. You are not creating table based on existing table (AS SELECT). Use INTERNAL tables when Use INTERNAL tables when: The data is temporary. You want Hive to completely manage the lifecycle of the table and data. Regards Sanjiv Singh Mob : +091 9990-447-339 On Fri

Re: rename a database

2015-03-27 Thread @Sanjiv Singh
Can I know why do you want to do so? Currently There is no command or direct way to do that..then I can suggest workaround for this. Thanks, Sanjiv Singh Regards Sanjiv Singh Mob : +091 9990-447-339 On Wed, Mar 25, 2015 at 10:01 AM, Shushant Arora wrote: > Hi > > Is there a

Re: Discrepancy in String matching between Teradata and HIVE

2015-03-27 Thread @Sanjiv Singh
UILDING' == 'BUILDING ', Here is a link <http://support.microsoft.com/en-us/kb/316626> for an article about it. Regards Sanjiv Singh Mob : +091 9990-447-339 On Fri, Mar 27, 2015 at 1:41 PM, Nitin Pawar wrote: > Hive does not manipulate data by its own, if your processing logic needs > t

Discrepancy in String matching between Teradata and HIVE

2015-03-27 Thread @Sanjiv Singh
IT 2; ***<>*** It seems that teradata is doing trimming short of thing before actually comparing stating values. But Hive is matching strings as it is. Not sure, It is expected behaviour or bug or can be raised as enhancement. I see below possible solution: - Convert into like operator expression with wildcard character before and after Looking forward for your response on this. How can it be handled/achieved in hive. Regards Sanjiv Singh Mob : +091 9990-447-339

Re: [ANNOUNCE] New Hive Committers - Jimmy Xiang, Matt McCline, and Sergio Pena

2015-03-23 Thread @Sanjiv Singh
Congratulations !!! Regards Sanjiv Singh Mob : +091 9990-447-339 On Mon, Mar 23, 2015 at 11:38 PM, Carl Steinbach wrote: > The Apache Hive PMC has voted to make Jimmy Xiang, Matt McCline, and > Sergio Pena committers on the Apache Hive Project. > > Please join me in congratulating

Re: UPDATE in Hive -0.14.0

2014-11-24 Thread @Sanjiv Singh
('transactional'='true') Regards Sanjiv Singh Mob : +091 9990-447-339 On Mon, Nov 24, 2014 at 1:58 PM, Nitin Pawar wrote: > whats your create table DDL? > On 24 Nov 2014 13:43, "unmesha sreeveni" wrote: > >> Hi >> >> I am using hive -0.14.0 which

Is there a Hive equivalent of SQL “LIKE ANY ( SUBQUERY )”

2014-11-03 Thread @Sanjiv Singh
alues in expression, I can't use same approach for generating multiple LIKE expression separated with OR / AND operator. Initially I thought to write HIVE UDF for it ? Can you please help me supporting such expression and finding HIVE equivalent ? Regards Sanjiv Singh Impetus Infotech Mob : +091 9990-447-339