Snowflake - Copy Command Options

Поділитися
Вставка
  • Опубліковано 1 січ 2025

КОМЕНТАРІ •

  • @saikrishna-pt6er
    @saikrishna-pt6er Рік тому +4

    Thankyou very much.I dont think I can get better channel to learn snowflake in youtube.great explanation on each and every concepts in snowflake.

  • @maneendrareddy1791
    @maneendrareddy1791 2 роки тому +3

    Superb explation. Please upload more videos related to snowflake.

    • @mrjana520
      @mrjana520  2 роки тому +1

      Complete snowflake videos available in my channel, follow my playlist

    • @mohammedvahid5099
      @mohammedvahid5099 Рік тому +1

      Sir make video full fledged video with copy command With practical we practice it pleas sir it's very confusion 🙏🙏🙏

  • @adinarayanakarra
    @adinarayanakarra 7 місяців тому +1

    Valuable information Sir

  • @mdcharm
    @mdcharm 5 місяців тому

    Thank You Sir. This is helpful

  • @muralikrishna-gk4hx
    @muralikrishna-gk4hx 8 місяців тому

    Thanks sir is there any video snow pipe on internal name stage please provide

  • @muralikrishna-gk4hx
    @muralikrishna-gk4hx 8 місяців тому

    Could you please advise How to handle historical tables part of migration

    • @mrjana520
      @mrjana520  8 місяців тому

      You can do one time history table load using ETL tools, if ETL tools are not available, you have to export the data from on-premice database to files, place those files in cloud storage and load into snowflake tables. There is no other way than these 2 ways.

  • @jayasimhabobburu6054
    @jayasimhabobburu6054 2 роки тому +1

    Sir TQ very much.
    Pls do a video on realtime how we have to write stored procedure in detail.pls sir

    • @mrjana520
      @mrjana520  2 роки тому

      there are 2 videos on Stored procs, check in my playlist

  • @anupamadixit1138
    @anupamadixit1138 11 місяців тому

    how can we get the sample data in s3? please tell

    • @mrjana520
      @mrjana520  11 місяців тому

      You can use public s3 data or you have to upload files to your AWS s3 account for practice.

  • @UPavan07
    @UPavan07 Рік тому

    Sir what type of errors are there in files

    • @mrjana520
      @mrjana520  Рік тому

      Watch all videos clearly, you will get the answer.

  • @LakshmanVarshan
    @LakshmanVarshan Рік тому

    what is the difference between overwrite = true and force = true?

    • @mrjana520
      @mrjana520  Рік тому

      I don't see overwrite option in Snowflake documentation also :(
      copyOptions ::=
      ON_ERROR = { CONTINUE | SKIP_FILE | SKIP_FILE_ | 'SKIP_FILE_%' | ABORT_STATEMENT }
      SIZE_LIMIT =
      PURGE = TRUE | FALSE
      RETURN_FAILED_ONLY = TRUE | FALSE
      MATCH_BY_COLUMN_NAME = CASE_SENSITIVE | CASE_INSENSITIVE | NONE
      ENFORCE_LENGTH = TRUE | FALSE
      TRUNCATECOLUMNS = TRUE | FALSE
      FORCE = TRUE | FALSE
      LOAD_UNCERTAIN_FILES = TRUE | FALSE

  • @lakshmisr5960
    @lakshmisr5960 Рік тому

    Can we store the result that we get from copy command into some temp table??

    • @mrjana520
      @mrjana520  Рік тому

      Copy command means, you are already storing or loading the data into some table, it can be a permanent table or temporary table or transient table

    • @lakshmisr5960
      @lakshmisr5960 Рік тому

      @@mrjana520 yeah ..but can we store the results like whether the filewise data loaded or errored out to some other table??? When we execute the copy command, we get an output table that says which all the files got loaded/errored out.. can we store that data somewhere??

    • @mrjana520
      @mrjana520  Рік тому

      When ever you run copy command it gives output as list of files that were successfully loaded and errored out, but the data will be loaded to the table that you have mentioned in the copy into tablename...

  • @kanthkk1365
    @kanthkk1365 Рік тому

    Nice Explanation Sir.. Can I stage the same file again in to the internal stage. Example earlier I have 10 records in the file but now in the same file records updated in to 20.So want to stage the file to load the remaining records in to the table

  • @sudhakarsiddu3965
    @sudhakarsiddu3965 2 роки тому +1

    Please explain some realtime scenarios

    • @mrjana520
      @mrjana520  2 роки тому +1

      Will do once all basic content is completed

  • @muralikrishna-gk4hx
    @muralikrishna-gk4hx 8 місяців тому

    Hi sir
    i try to create snow pipe on internal stage but i am getting error
    090040 (XX000): Pipe Notifications bind failure "Internal Stage not supported for auto_ingest"
    if i am coment on autoingest i am able to create but i try to change my file but i am not seen auto loading here.

    • @mrjana520
      @mrjana520  7 місяців тому

      the auto-ingest feature only works with external stages.

  • @kalyankumar7336
    @kalyankumar7336 Рік тому

    Hi Janardhan, Can you please that PPT about the copy command.

    • @mrjana520
      @mrjana520  Рік тому

      Contact me on jana.snowflake2@gmail.com

  • @mounikamallikanti9522
    @mounikamallikanti9522 2 роки тому

    Sir,i have career gap,i have learnt snowflake in an institute recently.now i would like to work with real time projects to improve my skill.so is there any freelancers or internships on the snowflake?

    • @mrjana520
      @mrjana520  2 роки тому

      I am not sure on that, I am just posting my knowledge in youtube

    • @mounikamallikanti9522
      @mounikamallikanti9522 2 роки тому +1

      @@mrjana520 it's ok sir, thank you.

  • @sunilkumarreddyd479
    @sunilkumarreddyd479 Рік тому

    Hi Janardhan,
    I have two queries.
    1) how to store limited rows in snowflake table using copy command. Ex. If my file has 1000 records but I want to store 200 records
    2) how to store source file name along with data

    • @mrjana520
      @mrjana520  Рік тому

      community.snowflake.com/s/article/Inserting-filename-into-target-table

    • @mrjana520
      @mrjana520  Рік тому +1

      We can't filter the records while loading into snowflake by using copy command

    • @sunilkumarreddyd479
      @sunilkumarreddyd479 Рік тому

      Thank you, janardhan!

    • @sunilkumarreddyd479
      @sunilkumarreddyd479 Рік тому +1

      As per your COPY command video, we can only give SIZE LIMIT keyword while loading data file?

  • @sql-world5536
    @sql-world5536 2 роки тому

    please explain clustered key concept

    • @mrjana520
      @mrjana520  2 роки тому +1

      Cluster key video is already available, all snowflake material that is required to clear an interview is available in my channel

  • @Kumarveeran123
    @Kumarveeran123 7 місяців тому

    you could have done it while running those commands with an explanation otherwise theoretical is always boring ..

    • @mrjana520
      @mrjana520  7 місяців тому

      But this is the only video I have explained only theory, all other videos I have executed and explained. But people see only black dot on the white paper, it is quiet natural.