python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to parse in the varchar type json column?
Can you tell me how to parse in varchar type? (in Presto & Hive)
[{u'pageId': u'102', u'title': u'ud648', u'isBrandHomePage': 1, u'active': True, u'pageType': 1, u'type': u'page'}, {u'pageId': u'1...
Sun
Votes: 0
Answers: 1
Query String Array JSON
I have a table in Athena, where the data ingestion was done through a MongoDB, where a column of the table is an array of JSON.
Only the table column is as a string, and I don't know how to run a quer...
Bruno
Votes: 0
Answers: 1
Spark SQL FIRST() function equivalence in Presto
What is the equivalence of the FIRST Spark SQL function in Presto?
WITH test (
select 2 as id,
'something 2' as name
union
select
3 as id,
'something 3' as name
union
select 1 as id,...

dim_user
Votes: 0
Answers: 1
Transform timestamp to date&time
I have a timestamp that comes in such from: 2021-12-20T18:00:55.126X
I want to change the form and show only the date and time so it would become something like 2021-12-20 18:00:55 The challenge is th...
user16462786
Votes: 0
Answers: 2