Giter Site home page Giter Site logo

StreamSets do not work locally about usql HOT 3 CLOSED

azure avatar azure commented on May 28, 2024
StreamSets do not work locally

from usql.

Comments (3)

MikeRys avatar MikeRys commented on May 28, 2024

It should work now. What is the version you are using? Also, do you have the data copied into the right location on your local data root directory?

from usql.

yorek avatar yorek commented on May 28, 2024

I'm using Azure Data Lake Tools for Visual Studio 2.0.7000.0. My root data directory is D:\USQLDataRoot and I haven't copied the files there. I've just executed the script from Visual Studio, just like as I did when I was just pointing to a single file.
Using the sample "Ambulance-1-1-QueryDriversOnADL.usql" as a starting poing, this works perfectly

DECLARE @INPUT_DRIVERS string = "/Samples/Data/AmbulanceData/Drivers.txt";

but this not

DECLARE @INPUT_DRIVERS string = "/Samples/Data/AmbulanceData/{filename:*}.txt";

since it creates and empty file.
Even copying the Ambulance data in the root data folder (tested right now): D:\USQLDataRoot\Samples\Data\AmbulanceData it always generates an empty result.

from usql.

yorek avatar yorek commented on May 28, 2024

I've managed to have it working. I took a look at the ScopeCompilerTrace.log and I've noticed that the GetFoldersmethod looks in the local U-SQL data root. Moving the data manually did the trick. Yesterday I thought I did the same, but probably I've misspelled the path or something similar. Today I just copied and pasted the folder from the log and it works.

Until this is fixed it would make sense to explicitly mention that files must be manually copied in the root folder in the help section on the top.

from usql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.