Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

18-Ingest-stream-synapse.md suggestion, ORDER BY in query #140

Open
craigbeeremct opened this issue Dec 18, 2024 · 0 comments
Open

18-Ingest-stream-synapse.md suggestion, ORDER BY in query #140

craigbeeremct opened this issue Dec 18, 2024 · 0 comments

Comments

@craigbeeremct
Copy link

Lab/Demo: 18-Ingest-stream-synapse.md

Task: Run the streaming job to aggregate order data

Step: 7

To emphasize the ingestion of the streaming data, I suggest adding an ORDER BY clause to the query.

SELECT TOP (100) 
    *
FROM
    OPENROWSET(
        BULK 'https://datalakexxxxxxx.dfs.core.windows.net/files/2024/**',
        FORMAT = 'CSV',
        PARSER_VERSION = '2.0',
        HEADER_ROW = TRUE
    ) AS [result]
ORDER BY
    StartTime DESC;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant