Query to Snowflake and Processing Data | Community
Skip to main content
Level 4
March 24, 2025
Solved

Query to Snowflake and Processing Data

  • March 24, 2025
  • 1 reply
  • 1589 views

Hello,

I have an easy question for the greater minds on here. I've created a simple https query to test snowflake environment. I'm trying to process the data I receive by iterating through it and I'm having some difficulty with that step.  

In detail - 
1. The returned results look like this - 

2. the data is captured into a module that looks like this 

3. Sample of data when passing through this get Data.data module

4. This is converted into an Array 

 
 

 5. Then iterated ... 

Question - If I only wanted to read the email column in the next module, how do I do that? 

 
 

 



Best answer by D____D

Hey - if you're game - can you do this: 

  1. Turn off parsing in the HTTP module
  2. send me the module output 

     

I'm not enough of a dev to make my 30days with snowflake useful 😕😕 


So it turns out that it was the approach, after all, and the iterator module. I don't think the Adobe rep can actually say that 😄  but the solution presented does not even use an iterator but instead focuses on creating a repeater using the HTTP DATA module output only - not that far from what you suggested but with a slightly different approach.

 

- get the data

- use the number of rows value from data to set a repeater 

- compose a string to use in another string - depth

- compose a string within a get ( ) data function, like what you had suggested to get the value

 

repeater config

first compose string

final compose string (ignore the double quotes and "+" symbols)

actual configuration looks like this:

 

 

results

 

 

1 reply

Sven-iX
Community Advisor
Community Advisor
March 24, 2025

You can do

  • Iterator on Data.data
  • then grab the 4th array element: get( {the value from the iterator} ; 4 )
D____DAuthor
Level 4
March 24, 2025

Hmm no go. 

 

Can't "iterate" on {{#.Data.data}} because it's not an array
I have to use my created array 

.. when I try your idea 

Comes up empty ...


The issue seems to be that the iterator is putting the values outside of "Value" .. i have actually never seen this behavior before ... here's what I mean ... 

 




Sven-iX
Community Advisor
Community Advisor
March 26, 2025

You can set up Snowflake for a 30-day trial, and I understand how you feel. 

 

I'm submitting a ticket to Adobe because I'm leaning on the side of "this shouldn't be this hard or work this way." 😄 

I do appreciate your efforts and ideas!! If they provide a solution, I'll post it here.


Hey - if you're game - can you do this: 

  1. Turn off parsing in the HTTP module
  2. send me the module output 

     

I'm not enough of a dev to make my 30days with snowflake useful 😕😕