MaxCompute Plugin 설치 및 프로젝트 연동
IntelliJ 및 MaxCompute Plugin 설치
- IntelliJ 설치
- File → Settings → Plugins → MaxCompute Studio 검색 후 Install → IntelliJ restart
![image]()
![image]()
- File → New → Project
![image]()
- MaxCompute Studio → Next → 프로젝트명 입력(임의 지정 가능) → Finish
![image]()
- View → Tool Windows → Project Explorer
![image]()
- ➕ 아이콘 클릭 → Add project from MaxCompute
![image]()
- Add MaxCompute Project 대화상자 Connectoin 탭에서 매개변수 입력 → OK
![image]()
Access id: Ali Cloud Access IDAccess Key: Ali Cloud Access KeyProject Name: MaxCompute 프로젝트 명
MaxCompute 프로젝트 데이터 관리
- Project Explorer → 프로젝트명 → Tables & Views → 테이블명 및 프로젝트 정보 확인
- 테이블명 더블 클릭 시 칼럼 확인 및 테이블 세부 정보 확인
- 하단 Table Details → Partitions:조회할 날짜 선택 → Preview rows 설정 → Data Preview → 테이블 데이터 미리보기
쿼리 작성
- Project Explorer → 해당하는 프로젝트 우클릭 → New sql editor
![image]()
- 쿼리 작성 → Ctrl + Shift + S / ▶ → 실행
where절 사용한 ds 파티셔닝 조회 필수
ex)where ds >= '2022-10-01'- 쿼리문 결과 확인







