Hive, mail # user - Use spacial chars in hive split
wd
2011-05-18, 03:46
Jasper Knulst
2011-05-18, 06:04
-
Use spacial chars in hive split
wd 2011-05-18, 03:46
Hi,
Can I use a spacial char like '^B' as the split pattern ?
I've tried '\002', '^B', '0x02', all failed.
-
Re: Use spacial chars in hive split
Jasper Knulst 2011-05-18, 06:04
Hi,
To my knowledge Hive currently only supports single byte separators in the DELIMITED BY clause. So you can only pick one of the first 128 ASCII characters.
Or use a custom Serde to map your data.
Jasper Op 18 mei 2011 05:46 schreef "wd" <[EMAIL PROTECTED]> het volgende: > Hi, > > Can I use a spacial char like '^B' as the split pattern ? > > I've tried '\002', '^B', '0x02', all failed.
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by Sematext