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

๐Ÿš€ [feature] FCM ์„ธํŒ… #156

Closed
1 of 2 tasks
CYY1007 opened this issue Jan 10, 2024 · 1 comment ยท Fixed by #168
Closed
1 of 2 tasks

๐Ÿš€ [feature] FCM ์„ธํŒ… #156

CYY1007 opened this issue Jan 10, 2024 · 1 comment ยท Fixed by #168
Assignees
Labels
โœจ feature New feature or request

Comments

@CYY1007
Copy link
Member

CYY1007 commented Jan 10, 2024

๐Ÿค– ๊ธฐ๋Šฅ ๊ฐœ์š”

FCM ์„ธํŒ…

FCM์„ ์ด์šฉํ•œ ํ‘ธ์‰ฌ ์•Œ๋ฆผ (๋‹จ, ์ด๋ฒคํŠธ ๊ธฐ๋ฐ˜์ด ์•„๋‹Œ ์Šค์ผ€์ค„๋Ÿฌ ๊ธฐ๋ฐ˜) ๊ตฌํ˜„์„ ์œ„ํ•œ ๊ธฐ๋ณธ์ ์ธ ์„ธํŒ…์„ ํ•ฉ๋‹ˆ๋‹ค.

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ํ…Œ์ด๋ธ” ์„ค๊ณ„

์šฐ์„ ์ ์œผ๋กœ ์•Œ๋ฆผ์„ ์ €์žฅ ํ•  ํ…Œ์ด๋ธ” ์„ค๊ณ„๊ฐ€ ํ•„์š”ํ•˜๋ฉฐ

์ถ”ํ›„ ์•Œ๋ฆผ์„ ํ„ฐ์น˜ ์‹œ ์ ์ ˆํ•œ ํŽ˜์ด์ง€๋กœ์˜ ์ด๋™์„ ์œ„ํ•ด ์•Œ๋ฆผ ํ…Œ์ด๋ธ”์—์„œ ์™ธ๋ž˜ํ‚ค๋กœ ์ฐธ์กฐ๋ฅผ ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.
๊ทธ๋Ÿฌ๋‚˜ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋Š” ๋‹คํ˜•์„ฑ์ด ์—†๊ธฐ ๋•Œ๋ฌธ์— ๋Ÿฐ ํƒ€์ž„(sql์„ ์ฝ์–ด๋“ค์ด๋Š” ์‹œ์ )์—์„œ ์–ด๋–ค ๋Œ€์ƒ์— ๋Œ€ํ•œ ์•Œ๋ฆผ์ธ์ง€
ํŒŒ์•…ํ•˜๊ธฐ๊ฐ€ ๋ถˆ๊ฐ€๋Šฅ ํ•˜๊ธฐ ๋•Œ๋ฌธ์— ํ…Œ์ด๋ธ” ์„ค๊ณ„์—์„œ ์ด๋ฅผ ๊ฐ€๋Šฅํ•˜๊ฒŒ ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

๋ฐฉ์•ˆ์€ ํฌ๊ฒŒ ์„ธ ๊ฐ€์ง€ ์ž…๋‹ˆ๋‹ค.

  1. ์Šˆํผ ํƒ€์ž…, ์„œ๋ธŒ ํƒ€์ž…์˜ ์‚ฌ์šฉ
  2. ๋ชจ๋“  ์•Œ๋ฆผ๋งˆ๋‹ค ํ…Œ์ด๋ธ” ๋ถ„๋ฆฌ
  3. ๋Œ€์ƒ์ด ๋˜๋Š” ์นผ๋Ÿผ์„ nullableํ•œ ์™ธ๋ž˜ํ‚ค๋กœ ๋‘๊ณ , dtype์œผ๋กœ ๊ตฌ๋ถ„

1๋ฒˆ ๊ฐ™์€ ๊ฒฝ์šฐ ๋ฐ์ดํ„ฐ์— ๋Œ€ํ•œ ๋ฌด๊ฒฐ์„ฑ๋“ฑ์ด ๊ฐ€์žฅ ๊ฐ•๋ ฅํžˆ ๋ณด์žฅ์ด ๋˜์ง€๋งŒ join ์—ฐ์‚ฐ์ด ํฌ๊ฒŒ ๋Š˜์–ด๋‚ฉ๋‹ˆ๋‹ค.
2๋ฒˆ๊ณผ 3๋ฒˆ์€ ๋น„์Šทํ•œ ๋ฐฉ์‹์ด๋‚˜ 2๋ฒˆ์€ ๋งค๋ฒˆ ์นผ๋Ÿผ์ด ์ถ”๊ฐ€๋˜์–ด์•ผ ํ•˜๊ณ , 3๋ฒˆ์€ ๋งค๋ฒˆ ํ…Œ์ด๋ธ”์ด ์ถ”๊ฐ€๊ฐ€ ๋˜์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

join ์—ฐ์‚ฐ์„ ํฌ๊ฒŒ ๋Š˜๋ฆฌ์ง€ ์•Š์œผ๋ฉด์„œ๋„ ๊ด€๋ฆฌ๊ฐ€ ์ข€ ๋” ์šฉ์ดํ•œ 2๋ฒˆ ๋ฐฉ์‹์„ ์ฐจ์šฉํ•˜๋ ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค.

fegin ํด๋ผ์ด์–ธํŠธ

์™ธ๋ถ€ API๋ฅผ fegin ํด๋ผ์ด์–ธํŠธ๋ฅผ ์‚ฌ์šฉํ•ด ํ˜ธ์ถœ ํ•  ์˜ˆ์ •์ž…๋‹ˆ๋‹ค.

โœ… Todo

  • ์—”ํ‹ฐํ‹ฐ ๋งคํ•‘
  • fegin ํด๋ผ์ด์–ธํŠธ ์„ธํŒ…

๐Ÿ“š Remarks

@CYY1007 CYY1007 added the โœจ feature New feature or request label Jan 10, 2024
@CYY1007 CYY1007 self-assigned this Jan 10, 2024
@swa07016
Copy link
Member

์ €๋„ 2๋ฒˆ ๋ฐฉ์‹์— ๋™์˜ํ•ฉ๋‹ˆ๋‹ค.

1๋ฒˆ ๋ฐฉ์‹ ์ƒ์†์„ ์‚ฌ์šฉํ–ˆ์„ ๊ฒฝ์šฐ, ๋ถ€๋ชจ ์ž์‹๊ฐ„ ๊ฐ•ํ•œ ๊ฒฐํ•ฉ์œผ๋กœ ์ •์ฑ… ๋ณ€ํ™”์— ์˜คํžˆ๋ ค ๋Œ€์‘ํ•˜๊ธฐ ์–ด๋ ค์šธ ๊ฒƒ ๊ฐ™๊ณ ,
3๋ฒˆ ๋ฐฉ์‹์„ ์‚ฌ์šฉํ–ˆ์„ ๊ฒฝ์šฐ ๊ฐ ํ…Œ์ด๋ธ”๋ณ„๋กœ ํŠนํ™”๋œ ํ•„๋“œ๋“ค์— ๋Œ€ํ•ด null๊ฐ’์ด ๋งŽ์ด ์ƒ๊ธธ ์ˆ˜ ์žˆ๋‹ค๊ณ  ์ƒ๊ฐํ•ฉ๋‹ˆ๋‹ค.

๊ฒฐ๋ก ์ ์œผ๋กœ ์•Œ๋ฆผ๋ณ„๋กœ ํ…Œ์ด๋ธ”์„ ๋ถ„๋ฆฌํ•ด์„œ ๊น”๋”ํ•˜๊ฒŒ ๊ด€๋ฆฌํ•˜๋Š” 2๋ฒˆ ๋ฐฉ์‹์ด ์ข‹์•„๋ณด์ž…๋‹ˆ๋‹ค.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
โœจ feature New feature or request
Projects
None yet
2 participants