Questions tagged [exploded]

39 questions
2
votes
3 answers

Javascript explode object to arguments

Is there some way to make the following work in javascript? var orders = [ {milk: true, sugar: "extra"}, {milk: false, sugar: "normal"} ]; function makeCoffee(sugar, milk) { console.log(sugar); …
Manav
  • 10,094
  • 6
  • 44
  • 51
1
vote
3 answers

Databricks PySpark Explode and Pivot Columns

I've been working on some data, trying to clean some data and I've found some difficulties that I hope this community can help me with. I have this json structure { "date": "04/23/2023" ,"eventName": "click" ,"UserProperties": [{ "key": "Name" …
KarenFri
  • 21
  • 3
1
vote
1 answer

Turn Exploded text file into table

I'm running speedtest-cli on a Linux box, with a Cron job to run it regularly: #!/bin/bash date >> /home/blob/speedtest.log /usr/local/bin/speedtest --simple >> /home/blob/speedtest.log This outputs four variables, with line breaks between…
Phil
  • 103
  • 7
1
vote
0 answers

Maven permission denied

I'm getting strange exception while trying to create exploded war directory with maven. And it's strange because I already changed all files permissions to 777 for everyone. What should I check? Ican't find any useful info in stacktrace :( Goals I…
Kamil Kalinowski
  • 436
  • 5
  • 13
1
vote
1 answer

How to build exploded jars using Ant task?

Kindly suggest how to build exploded jars using Ant task? Thanks.
Hushen Savani
  • 346
  • 6
  • 18
0
votes
2 answers

Clear web pages cache in jboss

I develop a web app: frontend javascript transport json backend Java EE JBoss AS 6.1 All static html and js files are in an exploded .war directory which itself is in an exploded .ear directory. Normally everything works fine! Today I…
Wolfgang Adamec
  • 8,374
  • 12
  • 50
  • 74
0
votes
1 answer

How to use exploded data in new query?

I need to run a query on each part of the array coming out of explode. Right now I just echo each word out from the explode, but I need to run a query like this for each word in the explode: (select * from words where word = $split_phrase[$i]) I am…
0
votes
0 answers

How can I run my Spring Boot web application in exploded mode in java?

I want to made my spring boot application to be exploded so I can make changes in the code and watch it at the moment. I try it a lot of method but any of them works.. I need some help with this. Thank you. I want to work dynamically with my Spring…
0
votes
2 answers

Create a row for each record separated by some pattern

I need to create a row in the pandas dataframe for each record in the "ativos" column and the other data ("nome") must be repeated. Records are separated by this string "\r\n" in the "ativos" column. However, I don't know how to do it correctly. …
0
votes
2 answers

How to reverse explode dataframe rows

I have been struggling to reverse explode a dataframe that I have initially exploded. I needed to split and exploded it at first so that I can check each value in this dataframe (df1) exist in the othere dataframe (df2). There are columns that…
Matter
  • 1
  • 1
0
votes
0 answers

Why is PHP_EOL not working when nl2br works fine

I copy the following string from a web page: Reservation No.: 218662 Play Date: Saturday - 4/11/2020 Course: Truman 352-750-2374 I want to break on CRLF and create three lines in my array. There is a CRLF (0D 0A) after 2374 and 2020 I…
Dave Davis
  • 574
  • 1
  • 4
  • 14
0
votes
0 answers

Maven: Build exploded ear only

My build currently uses maven-ear-plugin to create an ear as an folder (exploded) and an archive. I only use the exploded version for development. The archive is large and to reduce build duration, I would like to skip the creation of the archive,…
egt
  • 175
  • 2
  • 9
0
votes
1 answer

How do you read a resource from the root of an exploded webapp?

I have a localhost JBoss 6 setup with JBoss Tools and Eclipse doing the hot deploy of an exploded webapp. I used to launch my webapp via shell using main class with an explicit classpath and via JAR/WAR file. My resource loader used to work…
Kawu
  • 13,647
  • 34
  • 123
  • 195
0
votes
1 answer

How to select exploded column value in sql

I know, this could easly be done using PHP, but just curious, How could I explode on mail field to select the value from alias column with the first exploded part by @? Current: +-------+-----------------------------------------+ | alias | mail …
Toni Michel Caubet
  • 19,333
  • 56
  • 202
  • 378
0
votes
2 answers

How to explode a column which is of ArrayType in spark dataframe which contains nulls and empty arrays.

I have a dataframe made up of following data val df = List( (1,"wwe",List(1,2,3)), (2,"dsad",List.empty), (3,"dfd",null)).toDF("id","name","value") df.show +---+----+---------+ | id|name| value| +---+----+---------+ | 1| wwe|[1, 2,…
nagSumanth
  • 91
  • 1
  • 10