Commit fcb4579
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- packages/bigframes
- bigframes
- bigquery
- _operations
- core/compile
- ibis_compiler
- sqlglot/expressions
- operations
- tests
- system/small/bigquery
- unit/core/compile/sqlglot/expressions
- snapshots/test_ai_ops
- test_ai_embed_with_connection_id
- test_ai_embed_with_model_param_and_title
- test_ai_embed_with_model
- test_ai_embed_with_task_type_and_title
- test_ai_embed
- third_party/bigframes_vendored/ibis
- backends/sql/compilers/bigquery
- expr/operations
Expand file treeCollapse file tree
Open diff view settings
Collapse file
packages/bigframes/bigframes/bigquery/_operations/ai.py
Copy file name to clipboardExpand all lines: packages/bigframes/bigframes/bigquery/_operations/ai.py+107Lines changed: 107 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
705 | 705 | |
706 | 706 | |
707 | 707 | |
| 708 | + |
| 709 | + |
| 710 | + |
| 711 | + |
| 712 | + |
| 713 | + |
| 714 | + |
| 715 | + |
| 716 | + |
| 717 | + |
| 718 | + |
| 719 | + |
| 720 | + |
| 721 | + |
| 722 | + |
| 723 | + |
| 724 | + |
| 725 | + |
| 726 | + |
| 727 | + |
| 728 | + |
| 729 | + |
| 730 | + |
| 731 | + |
| 732 | + |
| 733 | + |
| 734 | + |
| 735 | + |
| 736 | + |
| 737 | + |
| 738 | + |
| 739 | + |
| 740 | + |
| 741 | + |
| 742 | + |
| 743 | + |
| 744 | + |
| 745 | + |
| 746 | + |
| 747 | + |
| 748 | + |
| 749 | + |
| 750 | + |
| 751 | + |
| 752 | + |
| 753 | + |
| 754 | + |
| 755 | + |
| 756 | + |
| 757 | + |
| 758 | + |
| 759 | + |
| 760 | + |
| 761 | + |
| 762 | + |
| 763 | + |
| 764 | + |
| 765 | + |
| 766 | + |
| 767 | + |
| 768 | + |
| 769 | + |
| 770 | + |
| 771 | + |
| 772 | + |
| 773 | + |
| 774 | + |
| 775 | + |
| 776 | + |
| 777 | + |
| 778 | + |
| 779 | + |
| 780 | + |
| 781 | + |
| 782 | + |
| 783 | + |
| 784 | + |
| 785 | + |
| 786 | + |
| 787 | + |
| 788 | + |
| 789 | + |
| 790 | + |
| 791 | + |
| 792 | + |
| 793 | + |
| 794 | + |
| 795 | + |
| 796 | + |
| 797 | + |
| 798 | + |
| 799 | + |
| 800 | + |
| 801 | + |
| 802 | + |
| 803 | + |
| 804 | + |
| 805 | + |
| 806 | + |
| 807 | + |
| 808 | + |
| 809 | + |
| 810 | + |
| 811 | + |
| 812 | + |
| 813 | + |
| 814 | + |
708 | 815 | |
709 | 816 | |
710 | 817 | |
|
Collapse file
packages/bigframes/bigframes/bigquery/ai.py
Copy file name to clipboardExpand all lines: packages/bigframes/bigframes/bigquery/ai.py+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
58 | 58 | |
59 | 59 | |
60 | 60 | |
| 61 | + |
61 | 62 | |
62 | 63 | |
63 | 64 | |
| ||
72 | 73 | |
73 | 74 | |
74 | 75 | |
| 76 | + |
75 | 77 | |
76 | 78 | |
77 | 79 | |
|
Collapse file
packages/bigframes/bigframes/core/compile/ibis_compiler/scalar_op_registry.py
Copy file name to clipboardExpand all lines: packages/bigframes/bigframes/core/compile/ibis_compiler/scalar_op_registry.py+13Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1965 | 1965 | |
1966 | 1966 | |
1967 | 1967 | |
| 1968 | + |
| 1969 | + |
| 1970 | + |
| 1971 | + |
| 1972 | + |
| 1973 | + |
| 1974 | + |
| 1975 | + |
| 1976 | + |
| 1977 | + |
| 1978 | + |
| 1979 | + |
| 1980 | + |
1968 | 1981 | |
1969 | 1982 | |
1970 | 1983 | |
|
Collapse file
packages/bigframes/bigframes/core/compile/sqlglot/expressions/ai_ops.py
Copy file name to clipboardExpand all lines: packages/bigframes/bigframes/core/compile/sqlglot/expressions/ai_ops.py+10-1Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
15 | 15 | |
16 | 16 | |
17 | 17 | |
| 18 | + |
18 | 19 | |
19 | 20 | |
20 | 21 | |
| ||
23 | 24 | |
24 | 25 | |
25 | 26 | |
| 27 | + |
26 | 28 | |
27 | 29 | |
28 | 30 | |
| ||
53 | 55 | |
54 | 56 | |
55 | 57 | |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
56 | 65 | |
57 | 66 | |
58 | 67 | |
| ||
94 | 103 | |
95 | 104 | |
96 | 105 | |
97 | | - |
| 106 | + |
98 | 107 | |
99 | 108 | |
100 | 109 | |
|
Collapse file
packages/bigframes/bigframes/operations/__init__.py
Copy file name to clipboardExpand all lines: packages/bigframes/bigframes/operations/__init__.py+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
16 | 16 | |
17 | 17 | |
18 | 18 | |
| 19 | + |
19 | 20 | |
20 | 21 | |
21 | 22 | |
| ||
434 | 435 | |
435 | 436 | |
436 | 437 | |
| 438 | + |
437 | 439 | |
438 | 440 | |
439 | 441 | |
|
Collapse file
packages/bigframes/bigframes/operations/ai_ops.py
Copy file name to clipboardExpand all lines: packages/bigframes/bigframes/operations/ai_ops.py+22Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
118 | 118 | |
119 | 119 | |
120 | 120 | |
| 121 | + |
| 122 | + |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | + |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | + |
| 137 | + |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
| 142 | + |
121 | 143 | |
122 | 144 | |
123 | 145 | |
|
Collapse file
packages/bigframes/tests/system/small/bigquery/test_ai.py
Copy file name to clipboardExpand all lines: packages/bigframes/tests/system/small/bigquery/test_ai.py+63Lines changed: 63 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
255 | 255 | |
256 | 256 | |
257 | 257 | |
| 258 | + |
| 259 | + |
| 260 | + |
| 261 | + |
| 262 | + |
| 263 | + |
| 264 | + |
| 265 | + |
| 266 | + |
| 267 | + |
| 268 | + |
| 269 | + |
| 270 | + |
| 271 | + |
| 272 | + |
| 273 | + |
| 274 | + |
| 275 | + |
| 276 | + |
| 277 | + |
| 278 | + |
| 279 | + |
| 280 | + |
| 281 | + |
| 282 | + |
| 283 | + |
| 284 | + |
| 285 | + |
| 286 | + |
| 287 | + |
| 288 | + |
| 289 | + |
| 290 | + |
| 291 | + |
| 292 | + |
| 293 | + |
| 294 | + |
| 295 | + |
| 296 | + |
| 297 | + |
| 298 | + |
| 299 | + |
| 300 | + |
| 301 | + |
| 302 | + |
| 303 | + |
| 304 | + |
| 305 | + |
| 306 | + |
| 307 | + |
| 308 | + |
| 309 | + |
| 310 | + |
| 311 | + |
| 312 | + |
| 313 | + |
| 314 | + |
| 315 | + |
| 316 | + |
| 317 | + |
| 318 | + |
| 319 | + |
| 320 | + |
258 | 321 | |
259 | 322 | |
260 | 323 | |
|
Collapse file
packages/bigframes/tests/unit/core/compile/sqlglot/expressions/snapshots/test_ai_ops/test_ai_embed/out.sql
Copy file name to clipboard+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
Collapse file
packages/bigframes/tests/unit/core/compile/sqlglot/expressions/snapshots/test_ai_ops/test_ai_embed_with_connection_id/out.sql
Copy file name to clipboard+7Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
Collapse file
packages/bigframes/tests/unit/core/compile/sqlglot/expressions/snapshots/test_ai_ops/test_ai_embed_with_model/out.sql
Copy file name to clipboard+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
0 commit comments