Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
String to array
Labels:
Contributor
Created on 06-28-2016 10:30 AM - edited 09-16-2022 03:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
This is my problem, I have a string columns with values that are separated by ';' , and I want to see it as an array using cast. Here is what I want to do:
select cast("hello;how;are;you" as ARRAY(separated by ";"));
It is possible to do this?, I'm using Impala 2.5 on CDH 5.7.
Regards,
1 REPLY 1
Guru
Created 07-15-2016 09:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please take a look at this thread for a response:
