当我以简单的方式创建时index,一切正常:
create index qty_ix on vacancy_desc_to_words (qty);
Run Code Online (Sandbox Code Playgroud)
但是当我尝试创建 时NONCLUSTERED INDEX,我遇到了问题: a WorkbenchnotMySQL console都不知道NONCLUSTERED和INCLUDE命令。
Linux 下的 MySQL 版本:
mysql Ver 14.14 Distrib 5.7.24, for Linux (x86_64) using EditLine wrapper
Run Code Online (Sandbox Code Playgroud)
如何使用NONCLUSTERED/INCLUDE命令?
我有一个gitignore文件项目:
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
Temp*
RationalValues*
Run Code Online (Sandbox Code Playgroud)
https://github.com/hhlTer/quadraticEquation
但是.idea目录仍然推送到我的存储库中...为什么?
这使得编码非常困难,并且分支中无法访问。
我确实将.idea中的所有文件添加到gitignore中,但是所有文件仍在存储库中
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
Temp*
RationalValues*
compiler.xml
encodings.xml
misc.xml
uiDesigner.xml
vcs.xml
workspace.xml
Run Code Online (Sandbox Code Playgroud) 我尝试部署 wildfly quickstart 17.0.0 final。但是我在使用 maven 时遇到了一些问题。
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.BannedRepositories failed with message:
Current maven session contains banned repository urls, please double check your pom or settings.xml:
jboss-earlyaccess-repository - http://maven.repository.redhat.com/earlyaccess/all/
jboss-ga-repository - http://maven.repository.redhat.com/techpreview/all
Current maven session contains banned plugin repository urls, please double check your pom or settings.xml:
jboss-earlyaccess-plugin-repository - http://maven.repository.redhat.com/earlyaccess/all/
jboss-ga-plugin-repository - http://maven.repository.redhat.com/techpreview/all
Run Code Online (Sandbox Code Playgroud)
我不知道我该怎么办。
如果您需要任何其他信息,请告诉我。
我尝试遵循下一个教程:https://docs.aws.amazon.com/AmazonS3/latest/user-guide/add-bucket-policy.html,但收到“未知错误”缺少必需的字段主体:
杰森:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:DeleteObject",
"s3:ListObjectsV2",
"s3:ListObjects"
],
"Resource": "arn:aws:s3:::awesome-proj/*"
},
{
"Sid": "VisualEditor1",
"Effect": "Allow",
"Action": "s3:GetBucketLocation",
"Resource": "arn:aws:s3:::awesome-proj"
}
]
}
Run Code Online (Sandbox Code Playgroud)
我生成了一个策略,但得到了相同的结果:
我更新Resource并Principal值 - :
{
"Id": "Policy1608869326556",
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1608869322454",
"Action": [
"s3:GetObject",
"s3:ListBucket",
"s3:PutObject"
],
"Effect": "Allow",
"Resource": "arn:aws:s3:::awesome-proj/*",
"Principal": "*"
}
]
}
Run Code Online (Sandbox Code Playgroud)
因此,我收到错误“操作不适用于语句中的任何资源”。
如何正确创建 s3-bucket 策略?