전체 글358 AWS GLUE S3 폴더 및 파일 백업하기(복사 및 삭제) AWS GLUE S3 폴더 백업하기(복사 및 삭제) AWS S3는 폴더명 변경을 지원하지 않는다.그래서 폴더를 백업할 때, 파일을 복사와 삭제 작업을 해야한다. import boto3import loggingfrom datetime import datetime# Set up logginglogging.basicConfig(level=logging.INFO)logger = logging.getLogger(__name__)def rename_s3_folders(source_paths): """ Rename S3 folders by adding '_BAK' suffix """ s3_client = boto3.client('s3') for source_path in source.. 2025. 4. 8. AWS GLUE에서 다른 GLUE 실행하기 AWS GLUE에서 다른 GLUE 실행하기 import boto3import timefrom botocore.exceptions import ClientErrordef wait_for_job_completion(glue_client, job_name, run_id): """ Wait for an AWS Glue job to complete and return the status. Args: glue_client: Boto3 Glue client job_name: Name of the Glue job run_id: ID of the specific job run Returns: str: Final status of.. 2025. 4. 8. 마비노기 모바일 최적화(PC) 경로 : C:\Nexon\MabinogiMobile\MabinogiMobile_Data파일명 : boot.config 설정 옵션 내용 붙여넣기gfx-enable-gfx-jobs=1gfx-enable-native-gfx-jobs=1gfx-disable-mt-rendering=1gfx-enable-threaded-present=1gfx-thread-priority=highwait-for-native-debugger=0vr-enabled=0hdr-display-enabled=0gc-max-time-slice=6memory-allocator=dynamic-pooluse-incremental-gc=1freeze-time-budget=1force-vulkan=1jobs-worker-count=6jobs-worker.. 2025. 3. 30. redshift 행분할, 쪼개기(콤마) 예제 레코드의 특정 값으로 행을 여러개 분할하는 방법 WITH TMP AS ( SELECT 'A,B,CD'::varchar AS VAL),NUMS AS ( /* 최대 분할 개수 */ SELECT 1 AS N UNION ALL SELECT 2 UNION ALL SELECT 3 UNION ALL SELECT 4 UNION ALL SELECT 5)select a.val , b.n , SPLIT_PART(VAL, ',', N) as testfrom TMP ajoin NUMS b on (SPLIT_PART(VAL, ',', N)) != ''; 2024. 12. 2. 이전 1 2 3 4 ··· 90 다음